diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 6fae6735a5..e00bebd340 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -d59a1f4bdea3032b8e282d40badc032cb021fc60 \ No newline at end of file +3b7d6e3c02976c878032d9849a9dd7211d35cb97 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 30723023b8..83c68c9d1d 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2277 \ No newline at end of file +v2324 \ No newline at end of file diff --git a/src/StripeEventNotificationHandler.ts b/src/StripeEventNotificationHandler.ts index 65e385155b..08edcf5714 100644 --- a/src/StripeEventNotificationHandler.ts +++ b/src/StripeEventNotificationHandler.ts @@ -33,10 +33,10 @@ const KNOWN_EVENT_TYPES = new Set([ 'v2.core.account[configuration.customer].updated', 'v2.core.account[configuration.merchant].capability_status_updated', 'v2.core.account[configuration.merchant].updated', + 'v2.core.account[configuration.money_manager].capability_status_updated', + 'v2.core.account[configuration.money_manager].updated', 'v2.core.account[configuration.recipient].capability_status_updated', 'v2.core.account[configuration.recipient].updated', - 'v2.core.account[configuration.storer].capability_status_updated', - 'v2.core.account[configuration.storer].updated', 'v2.core.account[defaults].updated', 'v2.core.account[future_requirements].updated', 'v2.core.account[identity].updated', @@ -80,12 +80,14 @@ const KNOWN_EVENT_TYPES = new Set([ 'v2.money_management.outbound_payment.failed', 'v2.money_management.outbound_payment.posted', 'v2.money_management.outbound_payment.returned', + 'v2.money_management.outbound_payment.under_review', 'v2.money_management.outbound_payment.updated', 'v2.money_management.outbound_transfer.canceled', 'v2.money_management.outbound_transfer.created', 'v2.money_management.outbound_transfer.failed', 'v2.money_management.outbound_transfer.posted', 'v2.money_management.outbound_transfer.returned', + 'v2.money_management.outbound_transfer.under_review', 'v2.money_management.outbound_transfer.updated', 'v2.money_management.payout_method.created', 'v2.money_management.payout_method.updated', diff --git a/src/apiVersion.ts b/src/apiVersion.ts index 8cea20c35f..0eff0ada73 100644 --- a/src/apiVersion.ts +++ b/src/apiVersion.ts @@ -1,3 +1,3 @@ // File generated from our OpenAPI spec -export const ApiVersion = '2026-05-27.preview'; +export const ApiVersion = '2026-06-24.preview'; diff --git a/src/resources/Accounts.ts b/src/resources/Accounts.ts index 3bacc6a7a2..47cd3f6bf3 100644 --- a/src/resources/Accounts.ts +++ b/src/resources/Accounts.ts @@ -3172,7 +3172,7 @@ export namespace AccountCreateParams { company_license?: Documents.CompanyLicense; /** - * One or more documents showing the company's Memorandum of Association. + * One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles of association). */ company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation; @@ -5492,7 +5492,7 @@ export namespace AccountUpdateParams { company_license?: Documents.CompanyLicense; /** - * One or more documents showing the company's Memorandum of Association. + * One or more documents showing the company's governing document (for example, a memorandum of association, constitution, or articles of association). */ company_memorandum_of_association?: Documents.CompanyMemorandumOfAssociation; diff --git a/src/resources/BalanceTransactions.ts b/src/resources/BalanceTransactions.ts index 406b540eec..0256e0fffb 100644 --- a/src/resources/BalanceTransactions.ts +++ b/src/resources/BalanceTransactions.ts @@ -7,9 +7,9 @@ import {RequestOptions, ApiListPromise, Response} from '../lib.js'; export class BalanceTransactionResource extends StripeResource { /** - * Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first. + * Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first. * - * Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history. + * The previous name of this endpoint was “Balance history,” and it used the path /v1/balance/history. */ list( params?: BalanceTransactionListParams, @@ -120,7 +120,7 @@ export interface BalanceTransaction { status: string; /** - * Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead. + * Transaction type: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead. */ type: BalanceTransaction.Type; } @@ -202,6 +202,7 @@ export namespace BalanceTransaction { | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' + | 'tax_fund' | 'topup' | 'topup_reversal' | 'transfer' @@ -242,7 +243,7 @@ export interface BalanceTransactionListParams extends PaginationParams { source?: string; /** - * Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. + * Only returns transactions of the given type. One of: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`. */ type?: string; } diff --git a/src/resources/Billing/CreditBalanceSummary.ts b/src/resources/Billing/CreditBalanceSummary.ts index bffd120d4c..c6f623d17f 100644 --- a/src/resources/Billing/CreditBalanceSummary.ts +++ b/src/resources/Billing/CreditBalanceSummary.ts @@ -156,7 +156,7 @@ export namespace Billing { price_type?: 'metered'; /** - * A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. + * A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. Limit 20 prices. */ prices?: Array; } diff --git a/src/resources/Billing/CreditGrants.ts b/src/resources/Billing/CreditGrants.ts index cdc220d134..337065a673 100644 --- a/src/resources/Billing/CreditGrants.ts +++ b/src/resources/Billing/CreditGrants.ts @@ -167,7 +167,7 @@ export interface CreditGrant { /** * The priority for applying this credit grant. The highest priority is 0 and the lowest is 100. */ - priority?: number | null; + priority: number | null; /** * ID of the test clock this credit grant belongs to. @@ -342,7 +342,7 @@ export namespace Billing { price_type?: 'metered'; /** - * A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. + * A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`. Limit 20 prices. */ prices?: Array; } diff --git a/src/resources/Capital/FinancingOffers.ts b/src/resources/Capital/FinancingOffers.ts index da5b0bd0a0..e6a087e7fe 100644 --- a/src/resources/Capital/FinancingOffers.ts +++ b/src/resources/Capital/FinancingOffers.ts @@ -88,6 +88,11 @@ export interface FinancingOffer { */ created: number; + /** + * The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [marketing docs](https://docs.stripe.com/capital/marketing). + */ + disclaimer_variant?: FinancingOffer.DisclaimerVariant; + /** * Time at which the offer expires. Given in seconds since unix epoch. */ @@ -169,6 +174,14 @@ export namespace FinancingOffer { withhold_rate: number; } + export type DisclaimerVariant = + | 'celtic_us_loan' + | 'fundbox_au_financing' + | 'youlend_de_financing' + | 'youlend_fr_financing' + | 'youlend_uk_mca' + | 'youlend_us_mca'; + export type FinancingType = 'cash_advance' | 'flex_loan'; export interface OfferedTerms { diff --git a/src/resources/Capital/FinancingSummary.ts b/src/resources/Capital/FinancingSummary.ts index fef1f77c59..9b8e385fb8 100644 --- a/src/resources/Capital/FinancingSummary.ts +++ b/src/resources/Capital/FinancingSummary.ts @@ -66,6 +66,11 @@ export namespace FinancingSummary { */ current_repayment_interval: Details.CurrentRepaymentInterval | null; + /** + * The type of disclaimer to use for a financing offer in user-facing surfaces. The corresponding disclaimer text to use for each disclaimer_variant value can be found in the [regulatory compliance docs](https://docs.stripe.com/capital/regulatory-compliance). + */ + disclaimer_variant?: Details.DisclaimerVariant; + /** * Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. */ @@ -112,6 +117,14 @@ export namespace FinancingSummary { */ remaining_amount: number; } + + export type DisclaimerVariant = + | 'celtic_us_loan' + | 'fundbox_au_financing' + | 'youlend_de_financing' + | 'youlend_fr_financing' + | 'youlend_uk_mca' + | 'youlend_us_mca'; } } export namespace Capital { diff --git a/src/resources/Cards.ts b/src/resources/Cards.ts index 70f713541b..8088eb7c1b 100644 --- a/src/resources/Cards.ts +++ b/src/resources/Cards.ts @@ -166,6 +166,11 @@ export interface Card { networks?: Card.Networks; + /** + * Redaction status of this card. If not null, this card is associated to a redaction job. + */ + redaction?: Card.Redaction | null; + /** * Status of a card based on the card issuer. */ @@ -214,5 +219,16 @@ export namespace Card { preferred: string | null; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export type RegulatedStatus = 'regulated' | 'unregulated'; + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } } diff --git a/src/resources/Charges.ts b/src/resources/Charges.ts index ecd0f55e11..1c1d85b47f 100644 --- a/src/resources/Charges.ts +++ b/src/resources/Charges.ts @@ -289,6 +289,11 @@ export interface Charge { */ receipt_url: string | null; + /** + * Redaction status of this charge. If not null, this charge is associated to a redaction job. + */ + redaction?: Charge.Redaction | null; + /** * Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false. */ @@ -621,6 +626,13 @@ export namespace Charge { session?: string; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export interface Shipping { address?: Address; @@ -961,6 +973,11 @@ export namespace Charge { } export interface Bizum { + /** + * A unique identifier for the buyer as determined by the local payment processor. + */ + buyer_id: string | null; + /** * The Bizum transaction ID associated with this payment. */ @@ -1113,6 +1130,11 @@ export namespace Charge { */ three_d_secure: Card.ThreeDSecure | null; + /** + * Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise. + */ + transaction_link_id: string | null; + /** * If this Card is part of a card wallet, this contains the details of the card wallet. */ @@ -1824,6 +1846,11 @@ export namespace Charge { */ bank_transaction_id?: string | null; + /** + * Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same. + */ + fingerprint?: string | null; + /** * ID of the multi use Mandate generated by the PaymentIntent */ @@ -2570,6 +2597,7 @@ export namespace Charge { | 'ethereum' | 'polygon' | 'solana' + | 'sui' | 'tempo'; export type TokenCurrency = @@ -2577,6 +2605,7 @@ export namespace Charge { | 'usdc' | 'usdg' | 'usdp' + | 'usdsui' | 'usdt'; } @@ -2954,6 +2983,10 @@ export namespace Charge { export type AccountType = 'checking' | 'savings'; } } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } } export interface ChargeCreateParams { /** diff --git a/src/resources/Checkout/Sessions.ts b/src/resources/Checkout/Sessions.ts index 02c09e5a01..992c83a4d1 100644 --- a/src/resources/Checkout/Sessions.ts +++ b/src/resources/Checkout/Sessions.ts @@ -897,6 +897,11 @@ export interface Session { */ recovered_from: string | null; + /** + * The redaction status of the Checkout Session. If the Session is not redacted, this field is null. + */ + redaction?: Session.Redaction | null; + /** * 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`. */ @@ -1416,6 +1421,8 @@ export namespace Session { sofort?: PaymentMethodOptions.Sofort; + sunbit?: PaymentMethodOptions.Sunbit; + swish?: PaymentMethodOptions.Swish; twint?: PaymentMethodOptions.Twint; @@ -1423,6 +1430,8 @@ export namespace Session { upi?: PaymentMethodOptions.Upi; us_bank_account?: PaymentMethodOptions.UsBankAccount; + + wechat_pay?: PaymentMethodOptions.WechatPay; } export type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; @@ -1471,6 +1480,13 @@ export namespace Session { presentment_currency: string; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export type RedirectOnCompletion = 'always' | 'if_required' | 'never'; export interface SavedPaymentMethodOptions { @@ -2904,6 +2920,24 @@ export namespace Session { setup_future_usage?: 'none'; } + export interface Sunbit { + /** + * 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 Swish { /** * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. @@ -2964,6 +2998,29 @@ export namespace Session { verification_method?: UsBankAccount.VerificationMethod; } + export interface WechatPay { + /** + * The app ID registered with WeChat Pay. Only required when client is iOS or Android. + */ + app_id: string | null; + + /** + * The client type that the end customer will pay from + */ + client: WechatPay.Client | 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 namespace AcssDebit { export type Currency = 'cad' | 'usd'; @@ -3383,6 +3440,10 @@ export namespace Session { } } } + + export namespace WechatPay { + export type Client = 'android' | 'ios' | 'web'; + } } export namespace Permissions { @@ -3417,6 +3478,10 @@ export namespace Session { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace SavedPaymentMethodOptions { export type AllowRedisplayFilter = 'always' | 'limited' | 'unspecified'; @@ -3981,8 +4046,6 @@ export namespace Checkout { * You can configure Checkout to collect your customers' business names, individual names, or both. Each name field can be either required or optional. * * If a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well. - * - * You can't set this parameter if `ui_mode` is `custom`. */ name_collection?: SessionCreateParams.NameCollection; @@ -4830,6 +4893,11 @@ export namespace Checkout { */ sofort?: PaymentMethodOptions.Sofort; + /** + * contains details about the Sunbit payment method options. + */ + sunbit?: PaymentMethodOptions.Sunbit; + /** * contains details about the Swish payment method options. */ @@ -5029,6 +5097,11 @@ export namespace Checkout { */ billing_cycle_anchor?: number; + /** + * Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month. + */ + billing_cycle_anchor_config?: SubscriptionData.BillingCycleAnchorConfig; + /** * Controls how prorations and invoices for subscriptions are calculated and orchestrated. */ @@ -6468,6 +6541,24 @@ export namespace Checkout { setup_future_usage?: 'none'; } + export interface Sunbit { + /** + * 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 Swish { /** * The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent. @@ -7443,6 +7534,33 @@ export namespace Checkout { } export namespace SubscriptionData { + export interface BillingCycleAnchorConfig { + /** + * The day of the month the anchor should be. Ranges from 1 to 31. + */ + day_of_month: number; + + /** + * The hour of the day the anchor should be. Ranges from 0 to 23. + */ + hour?: number; + + /** + * The minute of the hour the anchor should be. Ranges from 0 to 59. + */ + minute?: number; + + /** + * The month to start full cycle periods. Ranges from 1 to 12. + */ + month?: number; + + /** + * The second of the minute the anchor should be. Ranges from 0 to 59. + */ + second?: number; + } + export interface BillingMode { /** * Configure behavior for flexible billing mode. diff --git a/src/resources/ConfirmationTokens.ts b/src/resources/ConfirmationTokens.ts index ac038f6eda..582da2d537 100644 --- a/src/resources/ConfirmationTokens.ts +++ b/src/resources/ConfirmationTokens.ts @@ -457,9 +457,19 @@ export namespace ConfirmationToken { tax_id: string | null; } - export interface Bizum {} + export interface Bizum { + /** + * A unique identifier for the buyer as determined by the local payment processor. + */ + buyer_id?: string | null; + } - export interface Blik {} + export interface Blik { + /** + * A unique and immutable identifier assigned by BLIK to every buyer. + */ + buyer_id?: string | null; + } export interface Boleto { /** @@ -929,7 +939,12 @@ export namespace ConfirmationToken { pay_id: string | null; } - export interface Pix {} + 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 Promptpay {} diff --git a/src/resources/CreditNotes.ts b/src/resources/CreditNotes.ts index c57942e966..1ad92b951a 100644 --- a/src/resources/CreditNotes.ts +++ b/src/resources/CreditNotes.ts @@ -76,6 +76,8 @@ export class CreditNoteResource extends StripeResource { * * You may issue multiple credit notes for an invoice. Each credit note may increment the invoice's pre_payment_credit_notes_amount, * post_payment_credit_notes_amount, or both, depending on the invoice's amount_remaining at the time of credit note creation. + * + * For invoices that also have refunds created through the [Refund API](https://docs.stripe.com/docs/api/refunds), the credit note API subtracts those refund amounts from the maximum creditable amount. This prevents the combined credit notes and refunds from exceeding the invoice amount. If you use both, ensure the combined total does not exceed the invoice's paid amount. */ create( params: CreditNoteCreateParams, @@ -859,7 +861,7 @@ export namespace CreditNoteCreateParams { quantity?: number; /** - * A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`. + * A list of up to 20 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`. */ tax_amounts?: Emptyable>; @@ -1111,7 +1113,7 @@ export namespace CreditNoteListPreviewLineItemsParams { quantity?: number; /** - * A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`. + * A list of up to 20 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`. */ tax_amounts?: Emptyable>; @@ -1309,7 +1311,7 @@ export namespace CreditNotePreviewParams { quantity?: number; /** - * A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`. + * A list of up to 20 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`. */ tax_amounts?: Emptyable>; diff --git a/src/resources/Customers.ts b/src/resources/Customers.ts index 462cb1f076..1cc970e0d7 100644 --- a/src/resources/Customers.ts +++ b/src/resources/Customers.ts @@ -1111,6 +1111,11 @@ export interface Customer { */ preferred_locales?: Array | null; + /** + * Redaction status of this customer. If not null, this customer is associated to a redaction job. + */ + redaction?: Customer.Redaction | null; + /** * Mailing and shipping address for the customer. Appears on invoices emailed to this customer. */ @@ -1182,6 +1187,13 @@ export namespace Customer { rendering_options: InvoiceSettings.RenderingOptions | null; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export interface Shipping { address?: Address; @@ -1256,6 +1268,10 @@ export namespace Customer { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace Tax { export type AutomaticTax = | 'failed' diff --git a/src/resources/Disputes.ts b/src/resources/Disputes.ts index 84444111f1..abc644a4a6 100644 --- a/src/resources/Disputes.ts +++ b/src/resources/Disputes.ts @@ -169,6 +169,7 @@ export interface Dispute { } export namespace Dispute { export type EnhancedEligibilityType = + | 'mastercard_compliance' | 'visa_compelling_evidence_3' | 'visa_compliance'; @@ -385,12 +386,21 @@ export namespace Dispute { export namespace Evidence { export interface EnhancedEvidence { + mastercard_compliance?: EnhancedEvidence.MastercardCompliance; + visa_compelling_evidence_3?: EnhancedEvidence.VisaCompellingEvidence3; visa_compliance?: EnhancedEvidence.VisaCompliance; } export namespace EnhancedEvidence { + export interface MastercardCompliance { + /** + * A field acknowledging the fee incurred when countering a Mastercard compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. + */ + fee_acknowledged: boolean; + } + export interface VisaCompellingEvidence3 { /** * Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission. @@ -506,6 +516,8 @@ export namespace Dispute { export namespace EvidenceDetails { export interface EnhancedEligibility { + mastercard_compliance?: EnhancedEligibility.MastercardCompliance; + visa_compelling_evidence_3?: EnhancedEligibility.VisaCompellingEvidence3; visa_compliance?: EnhancedEligibility.VisaCompliance; @@ -517,6 +529,13 @@ export namespace Dispute { | 'smart_disputes'; export namespace EnhancedEligibility { + export interface MastercardCompliance { + /** + * Mastercard compliance eligibility status. + */ + status: MastercardCompliance.Status; + } + export interface VisaCompellingEvidence3 { /** * List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission. @@ -536,6 +555,12 @@ export namespace Dispute { status: VisaCompliance.Status; } + export namespace MastercardCompliance { + export type Status = + | 'fee_acknowledged' + | 'requires_fee_acknowledgement'; + } + export namespace VisaCompellingEvidence3 { export type RequiredAction = | 'missing_customer_identifiers' @@ -811,6 +836,11 @@ export namespace DisputeUpdateParams { export namespace Evidence { export interface EnhancedEvidence { + /** + * Evidence provided for Mastercard compliance evidence submission. + */ + mastercard_compliance?: EnhancedEvidence.MastercardCompliance; + /** * Evidence provided for Visa Compelling Evidence 3.0 evidence submission. */ @@ -823,6 +853,13 @@ export namespace DisputeUpdateParams { } export namespace EnhancedEvidence { + export interface MastercardCompliance { + /** + * A field acknowledging the fee incurred when countering a Mastercard compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. + */ + fee_acknowledged?: boolean; + } + export interface VisaCompellingEvidence3 { /** * Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission. diff --git a/src/resources/Events.ts b/src/resources/Events.ts index 28012e7a66..b3dd9363e4 100644 --- a/src/resources/Events.ts +++ b/src/resources/Events.ts @@ -141,7 +141,13 @@ export namespace Event { | 'balance.available' | 'balance_settings.updated' | 'billing.alert.triggered' + | 'billing.credit_balance_transaction.created' | 'billing.credit_grant.created' + | 'billing.credit_grant.updated' + | 'billing.meter.created' + | 'billing.meter.deactivated' + | 'billing.meter.reactivated' + | 'billing.meter.updated' | 'billing_portal.configuration.created' | 'billing_portal.configuration.updated' | 'billing_portal.session.created' @@ -252,6 +258,7 @@ export namespace Event { | 'invoice.updated' | 'invoice.voided' | 'invoice.will_be_due' + | 'invoice_payment.detached' | 'invoice_payment.paid' | 'invoiceitem.created' | 'invoiceitem.deleted' @@ -419,14 +426,7 @@ export namespace Event { | 'treasury.received_credit.created' | 'treasury.received_credit.failed' | 'treasury.received_credit.succeeded' - | 'treasury.received_debit.created' - | 'invoice_payment.detached' - | 'billing.credit_balance_transaction.created' - | 'billing.credit_grant.updated' - | 'billing.meter.created' - | 'billing.meter.deactivated' - | 'billing.meter.reactivated' - | 'billing.meter.updated'; + | 'treasury.received_debit.created'; export namespace Data { export interface Object {} @@ -2221,7 +2221,7 @@ export namespace CustomerSubscriptionResumedEvent { } /** - * Occurs three days before a subscription's trial period is scheduled to end, or when a trial is ended immediately (using `trial_end=now`). + * Occurs three days before a subscription's trial period is scheduled to end, or immediately when a trial is ended early (for example, with `trial_end=now` or when a Customer Portal plan change ends a trial). If a trial is shortened so that fewer than three days remain, this event can fire immediately, including during the same transaction that collects payment. Before sending payment-reminder communications from this webhook, check the subscription status and latest invoice to determine whether payment has already been collected. */ export interface CustomerSubscriptionTrialWillEndEvent extends EventBase { type: 'customer.subscription.trial_will_end'; diff --git a/src/resources/FinancialConnections/Accounts.ts b/src/resources/FinancialConnections/Accounts.ts index 8a6cc70b74..1e599a6a43 100644 --- a/src/resources/FinancialConnections/Accounts.ts +++ b/src/resources/FinancialConnections/Accounts.ts @@ -405,6 +405,8 @@ export namespace Account { export type Status = 'active' | 'disconnected' | 'inactive'; export interface StatusDetails { + active?: StatusDetails.Active; + inactive?: StatusDetails.Inactive; } @@ -495,6 +497,23 @@ export namespace Account { } export namespace StatusDetails { + export interface Active { + /** + * The action (if any) to proactively relink the Account. + */ + action: Active.Action; + + /** + * The underlying cause of the Account becoming inactive. + */ + cause: Active.Cause; + + /** + * When the Account is expected to become inactive, if applicable. + */ + expected_deactivation_date: number; + } + export interface Inactive { /** * The action (if any) to relink the inactive Account. @@ -507,6 +526,15 @@ export namespace Account { cause: Inactive.Cause; } + export namespace Active { + export type Action = 'none' | 'relink_required'; + + export type Cause = + | 'access_expired' + | 'institution_requirement' + | 'unspecified'; + } + export namespace Inactive { export type Action = 'none' | 'relink_required'; @@ -515,6 +543,7 @@ export namespace Account { | 'access_expired' | 'account_closed' | 'account_unavailable' + | 'institution_requirement' | 'unspecified'; } } diff --git a/src/resources/FinancialConnections/Authorizations.ts b/src/resources/FinancialConnections/Authorizations.ts index b7f42f1f63..b0317a8069 100644 --- a/src/resources/FinancialConnections/Authorizations.ts +++ b/src/resources/FinancialConnections/Authorizations.ts @@ -84,6 +84,8 @@ export namespace Authorization { export type Status = 'active' | 'disconnected' | 'inactive'; export interface StatusDetails { + active?: StatusDetails.Active; + inactive?: StatusDetails.Inactive; } @@ -92,6 +94,18 @@ export namespace Authorization { } export namespace StatusDetails { + export interface Active { + /** + * The action (if any) to proactively relink the Authorization. + */ + action: Active.Action; + + /** + * When the Authorization is expected to become inactive, if applicable. + */ + expected_deactivation_date: number; + } + export interface Inactive { /** * The action (if any) to relink the inactive Authorization. @@ -99,6 +113,10 @@ export namespace Authorization { action: Inactive.Action; } + export namespace Active { + export type Action = 'none' | 'relink_required'; + } + export namespace Inactive { export type Action = 'none' | 'relink_required'; } diff --git a/src/resources/FinancialConnections/Sessions.ts b/src/resources/FinancialConnections/Sessions.ts index 57b7cbedff..e2034ff402 100644 --- a/src/resources/FinancialConnections/Sessions.ts +++ b/src/resources/FinancialConnections/Sessions.ts @@ -3,6 +3,7 @@ import {StripeResource} from '../../StripeResource.js'; import {Account} from './Accounts.js'; import {Customer} from './../Customers.js'; +import {Emptyable} from '../../shared.js'; import {RequestOptions, Response, ApiList} from '../../lib.js'; export class SessionResource extends StripeResource { @@ -370,9 +371,9 @@ export namespace FinancialConnections { export interface Limits { /** - * The number of accounts that can be linked in this Session. + * The number of accounts that can be linked in this Session. Pass an empty value to allow any number of accounts. */ - accounts: number; + accounts: Emptyable; } export interface ManualEntry { diff --git a/src/resources/Identity/VerificationSessions.ts b/src/resources/Identity/VerificationSessions.ts index b4b9e969bb..117b80c084 100644 --- a/src/resources/Identity/VerificationSessions.ts +++ b/src/resources/Identity/VerificationSessions.ts @@ -442,7 +442,7 @@ export namespace VerificationSession { } export namespace Redaction { - export type Status = 'processing' | 'redacted'; + export type Status = 'processing' | 'redacted' | 'validated'; } export namespace VerifiedOutputs { diff --git a/src/resources/Invoices.ts b/src/resources/Invoices.ts index 1f650a922e..949a6b92d0 100644 --- a/src/resources/Invoices.ts +++ b/src/resources/Invoices.ts @@ -2206,6 +2206,7 @@ export namespace Invoice { | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' + | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' @@ -2245,6 +2246,10 @@ export namespace Invoice { | 'debit_not_authorized' | 'email_invalid' | 'expired_card' + | 'failed_tax_calculation' + | 'financial_account_balance_does_not_support_currency' + | 'financial_account_capability_not_enabled' + | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' @@ -2552,6 +2557,7 @@ export namespace Invoice { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -3434,6 +3440,7 @@ export namespace InvoiceCreateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -4361,6 +4368,7 @@ export namespace InvoiceUpdateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -4934,7 +4942,7 @@ export namespace InvoiceAddLinesParams { quantity_decimal?: Decimal; /** - * A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts. + * A list of up to 20 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts. */ tax_amounts?: Emptyable>; @@ -5605,6 +5613,15 @@ export namespace InvoiceCreatePreviewParams { */ items?: Array; + /** + * Previews the invoice that would be generated when pausing the subscription. Passing an empty hash won't preview pausing and instead returns the next invoice. + * + * To receive a preview invoice, set `invoicing_behavior` to `invoice`. A preview isn't available if the `bill_for` options produce no billable amounts. + * + * `pending_invoice_item` never has a preview available because pausing wouldn't generate an invoice, and paused subscriptions don't generate invoices either. + */ + pause?: SubscriptionDetails.Pause; + /** * The pre-billing to apply to the subscription as a preview. */ @@ -7457,7 +7474,7 @@ export namespace InvoiceCreatePreviewParams { discounts?: Emptyable>; /** - * Subscription item to update. + * Subscription item to update. If you omit `id`, the API adds a new subscription item rather than updating the existing one. See [Changing a subscription's price](https://docs.stripe.com/billing/subscriptions/change-price#changing). */ id?: string; @@ -7492,6 +7509,23 @@ export namespace InvoiceCreatePreviewParams { tax_rates?: Emptyable>; } + export interface Pause { + /** + * Controls what to bill for when pausing the subscription. + */ + bill_for?: Pause.BillFor; + + /** + * Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`. + */ + invoicing_behavior?: Pause.InvoicingBehavior; + + /** + * The type of pause to apply. Defaults to `subscription`. + */ + type?: 'subscription'; + } + export interface Prebilling { /** * This is used to determine the number of billing cycles to prebill. @@ -7703,6 +7737,46 @@ export namespace InvoiceCreatePreviewParams { } } } + + export namespace Pause { + export interface BillFor { + /** + * Controls when to bill for metered usage in the current period. Defaults to `{ type: "now" }`. + */ + outstanding_usage_through?: BillFor.OutstandingUsageThrough; + + /** + * Controls when to credit for unused time on licensed items. Defaults to `{ type: "now" }`. + */ + unused_time_from?: BillFor.UnusedTimeFrom; + } + + export type InvoicingBehavior = 'invoice' | 'pending_invoice_item'; + + export namespace BillFor { + export interface OutstandingUsageThrough { + /** + * When to bill metered usage in the current period. + */ + type: OutstandingUsageThrough.Type; + } + + export interface UnusedTimeFrom { + /** + * When to credit for unused time. + */ + type: UnusedTimeFrom.Type; + } + + export namespace OutstandingUsageThrough { + export type Type = 'none' | 'now'; + } + + export namespace UnusedTimeFrom { + export type Type = 'item_current_period_start' | 'none' | 'now'; + } + } + } } } export interface InvoiceDetachPaymentParams { @@ -7920,7 +7994,7 @@ export namespace InvoiceUpdateLinesParams { quantity_decimal?: Decimal; /** - * A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts. + * A list of up to 20 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts. */ tax_amounts?: Emptyable>; @@ -8277,7 +8351,7 @@ export interface InvoiceUpdateLineItemParams { quantity_decimal?: Decimal; /** - * A list of up to 10 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts. + * A list of up to 20 tax amounts for this line item. This can be useful if you calculate taxes on your own or use a third-party to calculate them. You cannot set tax amounts if any line item has [tax_rates](https://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts. */ tax_amounts?: Emptyable>; diff --git a/src/resources/Issuing/Authorizations.ts b/src/resources/Issuing/Authorizations.ts index 6948021174..3575078d88 100644 --- a/src/resources/Issuing/Authorizations.ts +++ b/src/resources/Issuing/Authorizations.ts @@ -1041,6 +1041,11 @@ export interface Authorization { */ pending_request: Authorization.PendingRequest | null; + /** + * Redaction status of this authorization. If the authorization is not redacted, this field will be null. + */ + redaction?: Authorization.Redaction | 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. */ @@ -1277,6 +1282,13 @@ export namespace Authorization { network_risk_score: number | null; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + 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. @@ -1531,6 +1543,10 @@ export namespace Authorization { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace RequestHistory { export interface AmountDetails { /** diff --git a/src/resources/Issuing/Cardholders.ts b/src/resources/Issuing/Cardholders.ts index 4a287f26c7..90e1f779f5 100644 --- a/src/resources/Issuing/Cardholders.ts +++ b/src/resources/Issuing/Cardholders.ts @@ -134,6 +134,11 @@ export interface Cardholder { */ preferred_locales: Array | null; + /** + * Redaction status of this cardholder. If the cardholder is not redacted, this field will be null. + */ + redaction?: Cardholder.Redaction | null; + requirements: Cardholder.Requirements; /** @@ -192,6 +197,13 @@ export namespace Cardholder { export type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it'; + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export interface Requirements { /** * If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. @@ -316,6 +328,10 @@ export namespace Cardholder { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace Requirements { export type DisabledReason = | 'listed' diff --git a/src/resources/Issuing/Cards.ts b/src/resources/Issuing/Cards.ts index 9ef5c190e4..cb988bc100 100644 --- a/src/resources/Issuing/Cards.ts +++ b/src/resources/Issuing/Cards.ts @@ -163,6 +163,11 @@ export interface Card { */ personalization_design: string | PersonalizationDesign | null; + /** + * Redaction status of this card. If not null, this card is associated to a redaction job. + */ + redaction?: Card.Redaction | null; + /** * The latest card that replaces this card, if any. */ @@ -228,6 +233,13 @@ export namespace Card { cancel_after: LifecycleControls.CancelAfter; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export type ReplacementReason = | 'damaged' | 'expired' @@ -373,6 +385,10 @@ export namespace Card { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace Shipping { export interface AddressValidation { /** diff --git a/src/resources/Issuing/Disputes.ts b/src/resources/Issuing/Disputes.ts index 2a3712184c..9ca860fc41 100644 --- a/src/resources/Issuing/Disputes.ts +++ b/src/resources/Issuing/Disputes.ts @@ -133,6 +133,11 @@ export interface Dispute { */ metadata: Metadata; + /** + * Redaction status of this dispute. If the dispute is not redacted, this field will be null. + */ + redaction?: Dispute.Redaction | null; + /** * Current status of the dispute. */ @@ -194,6 +199,13 @@ export namespace Dispute { | 'transaction_qualifies_for_visa_easy_payment_service' | 'transaction_unattended'; + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export type Status = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won'; export interface Treasury { @@ -453,6 +465,10 @@ export namespace Dispute { export type ProductType = 'merchandise' | 'service'; } } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } } export namespace Issuing { export interface DisputeCreateParams { diff --git a/src/resources/Issuing/Transactions.ts b/src/resources/Issuing/Transactions.ts index ea7336f623..a028b5bf3c 100644 --- a/src/resources/Issuing/Transactions.ts +++ b/src/resources/Issuing/Transactions.ts @@ -413,6 +413,11 @@ export interface Transaction { */ purchase_details?: Transaction.PurchaseDetails | null; + /** + * Redaction status of this transaction. If the transaction is not redacted, this field will be null. + */ + redaction?: Transaction.Redaction | null; + /** * The ID of the [settlement](https://docs.stripe.com/api/issuing/settlements) to which this transaction belongs. */ @@ -557,6 +562,13 @@ export namespace Transaction { reference: string | null; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export interface Treasury { /** * The Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund @@ -792,6 +804,10 @@ export namespace Transaction { } } } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } } export namespace Issuing { export interface TransactionRetrieveParams { diff --git a/src/resources/Orders.ts b/src/resources/Orders.ts index e42cd03bf1..797c28ac56 100644 --- a/src/resources/Orders.ts +++ b/src/resources/Orders.ts @@ -1172,7 +1172,7 @@ export namespace Order { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id: string | null; @@ -2523,7 +2523,7 @@ export namespace OrderCreateParams { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id?: string; @@ -5214,7 +5214,7 @@ export namespace OrderUpdateParams { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id?: string; diff --git a/src/resources/PaymentAttemptRecords.ts b/src/resources/PaymentAttemptRecords.ts index 66f88a353d..b2f17f5769 100644 --- a/src/resources/PaymentAttemptRecords.ts +++ b/src/resources/PaymentAttemptRecords.ts @@ -735,6 +735,11 @@ export namespace PaymentAttemptRecord { } export interface Bizum { + /** + * A unique identifier for the buyer as determined by the local payment processor. + */ + buyer_id: string | null; + /** * The Bizum transaction ID associated with this payment. */ @@ -784,7 +789,7 @@ export namespace PaymentAttemptRecord { /** * A high-level description of the type of cards issued in this range. */ - description: string | null; + description?: string | null; /** * Two-digit number representing the card's expiration month. @@ -811,7 +816,7 @@ export namespace PaymentAttemptRecord { /** * Issuer identification number of the card. */ - iin: string | null; + iin?: string | null; /** * Installment details for this payment. @@ -821,7 +826,7 @@ export namespace PaymentAttemptRecord { /** * The name of the card's issuing bank. */ - issuer: string | null; + issuer?: string | null; /** * The last four digits of the card. @@ -858,11 +863,6 @@ export namespace PaymentAttemptRecord { */ network_transaction_id: string | null; - /** - * The transaction type that was passed for an off-session, Merchant-Initiated transaction, one of `recurring` or `unscheduled`. - */ - stored_credential_usage: Card.StoredCredentialUsage | null; - /** * Populated if this transaction used 3D Secure authentication. */ @@ -1990,8 +1990,6 @@ export namespace PaymentAttemptRecord { used: boolean; } - export type StoredCredentialUsage = 'recurring' | 'unscheduled'; - export interface ThreeDSecure { /** * For authenticated transactions: Indicates how the issuing bank authenticated the customer. @@ -2228,6 +2226,7 @@ export namespace PaymentAttemptRecord { | 'ethereum' | 'polygon' | 'solana' + | 'sui' | 'tempo'; export type TokenCurrency = @@ -2235,6 +2234,7 @@ export namespace PaymentAttemptRecord { | 'usdc' | 'usdg' | 'usdp' + | 'usdsui' | 'usdt'; } diff --git a/src/resources/PaymentIntents.ts b/src/resources/PaymentIntents.ts index 69b79300a3..b491ef4161 100644 --- a/src/resources/PaymentIntents.ts +++ b/src/resources/PaymentIntents.ts @@ -529,6 +529,11 @@ export interface PaymentIntent { */ receipt_email: string | null; + /** + * Redaction status of this PaymentIntent. If the PaymentIntent isn't redacted, this field is null. + */ + redaction?: PaymentIntent.Redaction | null; + /** * ID of the review associated with this PaymentIntent, if any. */ @@ -1035,6 +1040,8 @@ export namespace PaymentIntent { stripe_balance?: PaymentMethodOptions.StripeBalance; + sunbit?: PaymentMethodOptions.Sunbit; + swish?: PaymentMethodOptions.Swish; twint?: PaymentMethodOptions.Twint; @@ -1069,6 +1076,13 @@ export namespace PaymentIntent { type: 'card'; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export type SecretKeyConfirmation = 'optional' | 'required'; export type SetupFutureUsage = 'off_session' | 'on_session'; @@ -1259,6 +1273,7 @@ export namespace PaymentIntent { | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' + | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' @@ -1298,6 +1313,10 @@ export namespace PaymentIntent { | 'debit_not_authorized' | 'email_invalid' | 'expired_card' + | 'failed_tax_calculation' + | 'financial_account_balance_does_not_support_currency' + | 'financial_account_capability_not_enabled' + | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' @@ -4378,6 +4397,17 @@ export namespace PaymentIntent { * 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?: Satispay.SetupFutureUsage; } export interface Scalapay { @@ -4451,6 +4481,24 @@ export namespace PaymentIntent { setup_future_usage?: StripeBalance.SetupFutureUsage; } + export interface Sunbit { + /** + * 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 Swish { /** * A reference for this payment to be displayed in the Swish app. @@ -4529,7 +4577,7 @@ export namespace PaymentIntent { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id: string | null; @@ -5114,6 +5162,10 @@ export namespace PaymentIntent { export type SetupFutureUsage = 'none' | 'off_session'; } + export namespace Satispay { + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } + export namespace SepaDebit { export interface MandateOptions { /** @@ -5259,6 +5311,10 @@ export namespace PaymentIntent { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace TransferData { export interface PaymentData { /** @@ -5984,7 +6040,7 @@ export namespace PaymentIntentCreateParams { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; @@ -6305,6 +6361,11 @@ export namespace PaymentIntentCreateParams { */ stripe_balance?: Emptyable; + /** + * If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options. + */ + sunbit?: Emptyable; + /** * If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. */ @@ -10158,6 +10219,17 @@ export namespace PaymentIntentCreateParams { * If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. */ capture_method?: Emptyable<'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?: Emptyable; } export interface Scalapay { @@ -10246,6 +10318,28 @@ export namespace PaymentIntentCreateParams { setup_future_usage?: Emptyable; } + export interface Sunbit { + /** + * Controls when the funds are captured from the customer's account. + * + * If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + * + * If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + */ + capture_method?: Emptyable<'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 Swish { /** * A reference for this payment to be displayed in the Swish app. @@ -10337,7 +10431,7 @@ export namespace PaymentIntentCreateParams { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id?: string; @@ -12293,6 +12387,10 @@ export namespace PaymentIntentCreateParams { export type SetupFutureUsage = 'none' | 'off_session'; } + export namespace Satispay { + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } + export namespace SepaDebit { export interface MandateOptions { /** @@ -13111,7 +13209,7 @@ export namespace PaymentIntentUpdateParams { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; @@ -13432,6 +13530,11 @@ export namespace PaymentIntentUpdateParams { */ stripe_balance?: Emptyable; + /** + * If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options. + */ + sunbit?: Emptyable; + /** * If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. */ @@ -17244,6 +17347,17 @@ export namespace PaymentIntentUpdateParams { * If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. */ capture_method?: Emptyable<'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?: Emptyable; } export interface Scalapay { @@ -17332,6 +17446,28 @@ export namespace PaymentIntentUpdateParams { setup_future_usage?: Emptyable; } + export interface Sunbit { + /** + * Controls when the funds are captured from the customer's account. + * + * If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + * + * If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + */ + capture_method?: Emptyable<'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 Swish { /** * A reference for this payment to be displayed in the Swish app. @@ -17423,7 +17559,7 @@ export namespace PaymentIntentUpdateParams { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id?: string; @@ -19379,6 +19515,10 @@ export namespace PaymentIntentUpdateParams { export type SetupFutureUsage = 'none' | 'off_session'; } + export namespace Satispay { + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } + export namespace SepaDebit { export interface MandateOptions { /** @@ -22423,7 +22563,7 @@ export namespace PaymentIntentConfirmParams { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; @@ -22744,6 +22884,11 @@ export namespace PaymentIntentConfirmParams { */ stripe_balance?: Emptyable; + /** + * If this is a `sunbit` PaymentMethod, this sub-hash contains details about the Sunbit payment method options. + */ + sunbit?: Emptyable; + /** * If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. */ @@ -26555,6 +26700,17 @@ export namespace PaymentIntentConfirmParams { * If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. */ capture_method?: Emptyable<'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?: Emptyable; } export interface Scalapay { @@ -26643,6 +26799,28 @@ export namespace PaymentIntentConfirmParams { setup_future_usage?: Emptyable; } + export interface Sunbit { + /** + * Controls when the funds are captured from the customer's account. + * + * If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + * + * If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + */ + capture_method?: Emptyable<'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 Swish { /** * A reference for this payment to be displayed in the Swish app. @@ -26734,7 +26912,7 @@ export namespace PaymentIntentConfirmParams { export interface WechatPay { /** - * The app ID registered with WeChat Pay. Only required when client is ios or android. + * The app ID registered with WeChat Pay. Only required when client is ios, android, or mini_program. */ app_id?: string; @@ -28690,6 +28868,10 @@ export namespace PaymentIntentConfirmParams { export type SetupFutureUsage = 'none' | 'off_session'; } + export namespace Satispay { + export type SetupFutureUsage = 'none' | 'off_session' | 'on_session'; + } + export namespace SepaDebit { export interface MandateOptions { /** @@ -29535,7 +29717,7 @@ export interface PaymentIntentListAmountDetailsLineItemsParams } export interface PaymentIntentSearchParams { /** - * The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for payment intents](https://docs.stripe.com/search#query-fields-for-payment-intents). + * The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for payment intents](https://docs.stripe.com/search#query-fields-for-paymentintents). */ query: string; diff --git a/src/resources/PaymentLinks.ts b/src/resources/PaymentLinks.ts index 238d6f8c49..3197e69db9 100644 --- a/src/resources/PaymentLinks.ts +++ b/src/resources/PaymentLinks.ts @@ -1688,6 +1688,9 @@ export interface PaymentLinkCreateParams { */ payment_method_collection?: PaymentLinkCreateParams.PaymentMethodCollection; + /** + * Payment-method-specific configuration. + */ payment_method_options?: PaymentLinkCreateParams.PaymentMethodOptions; /** diff --git a/src/resources/PaymentMethods.ts b/src/resources/PaymentMethods.ts index 046c1e72f2..2c9556a630 100644 --- a/src/resources/PaymentMethods.ts +++ b/src/resources/PaymentMethods.ts @@ -264,6 +264,11 @@ export interface PaymentMethod { rechnung?: PaymentMethod.Rechnung; + /** + * Redaction status of this PaymentMethod. If the PaymentMethod is not redacted, this field will be null. + */ + redaction?: PaymentMethod.Redaction | null; + revolut_pay?: PaymentMethod.RevolutPay; samsung_pay?: PaymentMethod.SamsungPay; @@ -414,9 +419,19 @@ export namespace PaymentMethod { tax_id: string | null; } - export interface Bizum {} + export interface Bizum { + /** + * A unique identifier for the buyer as determined by the local payment processor. + */ + buyer_id?: string | null; + } - export interface Blik {} + export interface Blik { + /** + * A unique and immutable identifier assigned by BLIK to every buyer. + */ + buyer_id?: string | null; + } export interface Boleto { /** @@ -903,7 +918,12 @@ export namespace PaymentMethod { pay_id: string | null; } - export interface Pix {} + 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 Promptpay {} @@ -920,6 +940,13 @@ export namespace PaymentMethod { dob?: Rechnung.Dob; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export interface RevolutPay {} export interface SamsungPay {} @@ -1787,6 +1814,10 @@ export namespace PaymentMethod { } } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace SepaDebit { export interface GeneratedFrom { /** @@ -2183,7 +2214,7 @@ export interface PaymentMethodCreateParams { stripe_balance?: PaymentMethodCreateParams.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodCreateParams.Sunbit; diff --git a/src/resources/PaymentRecords.ts b/src/resources/PaymentRecords.ts index 0053951bd2..ac69b7bb7d 100644 --- a/src/resources/PaymentRecords.ts +++ b/src/resources/PaymentRecords.ts @@ -843,6 +843,11 @@ export namespace PaymentRecord { } export interface Bizum { + /** + * A unique identifier for the buyer as determined by the local payment processor. + */ + buyer_id: string | null; + /** * The Bizum transaction ID associated with this payment. */ @@ -892,7 +897,7 @@ export namespace PaymentRecord { /** * A high-level description of the type of cards issued in this range. */ - description: string | null; + description?: string | null; /** * Two-digit number representing the card's expiration month. @@ -919,7 +924,7 @@ export namespace PaymentRecord { /** * Issuer identification number of the card. */ - iin: string | null; + iin?: string | null; /** * Installment details for this payment. @@ -929,7 +934,7 @@ export namespace PaymentRecord { /** * The name of the card's issuing bank. */ - issuer: string | null; + issuer?: string | null; /** * The last four digits of the card. @@ -966,11 +971,6 @@ export namespace PaymentRecord { */ network_transaction_id: string | null; - /** - * The transaction type that was passed for an off-session, Merchant-Initiated transaction, one of `recurring` or `unscheduled`. - */ - stored_credential_usage: Card.StoredCredentialUsage | null; - /** * Populated if this transaction used 3D Secure authentication. */ @@ -2098,8 +2098,6 @@ export namespace PaymentRecord { used: boolean; } - export type StoredCredentialUsage = 'recurring' | 'unscheduled'; - export interface ThreeDSecure { /** * For authenticated transactions: Indicates how the issuing bank authenticated the customer. @@ -2336,6 +2334,7 @@ export namespace PaymentRecord { | 'ethereum' | 'polygon' | 'solana' + | 'sui' | 'tempo'; export type TokenCurrency = @@ -2343,6 +2342,7 @@ export namespace PaymentRecord { | 'usdc' | 'usdg' | 'usdp' + | 'usdsui' | 'usdt'; } @@ -3216,11 +3216,6 @@ export interface PaymentRecordReportRefundParams { */ processor_details: PaymentRecordReportRefundParams.ProcessorDetails; - /** - * Information about the payment attempt refund. - */ - refunded: PaymentRecordReportRefundParams.Refunded; - /** * A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment. */ @@ -3240,6 +3235,11 @@ export interface PaymentRecordReportRefundParams { * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Emptyable; + + /** + * Information about the payment attempt refund. + */ + refunded?: PaymentRecordReportRefundParams.Refunded; } export namespace PaymentRecordReportRefundParams { export interface ProcessorDetails { @@ -3254,13 +3254,6 @@ export namespace PaymentRecordReportRefundParams { type: 'custom'; } - export interface Refunded { - /** - * When the reported refund completed. Measured in seconds since the Unix epoch. - */ - refunded_at: number; - } - 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). @@ -3273,6 +3266,13 @@ export namespace PaymentRecordReportRefundParams { value: number; } + export interface Refunded { + /** + * When the reported refund completed. Measured in seconds since the Unix epoch. + */ + refunded_at: number; + } + export namespace ProcessorDetails { export interface Custom { /** diff --git a/src/resources/QuotePreviewInvoices.ts b/src/resources/QuotePreviewInvoices.ts index 0a3ace2d4f..c793234664 100644 --- a/src/resources/QuotePreviewInvoices.ts +++ b/src/resources/QuotePreviewInvoices.ts @@ -1103,6 +1103,7 @@ export namespace QuotePreviewInvoice { | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' + | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' @@ -1142,6 +1143,10 @@ export namespace QuotePreviewInvoice { | 'debit_not_authorized' | 'email_invalid' | 'expired_card' + | 'failed_tax_calculation' + | 'financial_account_balance_does_not_support_currency' + | 'financial_account_capability_not_enabled' + | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' @@ -1449,6 +1454,7 @@ export namespace QuotePreviewInvoice { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' diff --git a/src/resources/Radar/ValueListItems.ts b/src/resources/Radar/ValueListItems.ts index 646b733406..c4c07d23e8 100644 --- a/src/resources/Radar/ValueListItems.ts +++ b/src/resources/Radar/ValueListItems.ts @@ -98,6 +98,11 @@ export interface ValueListItem { */ livemode: boolean; + /** + * Redaction status of this item. If not null, this item is associated to a redaction job. + */ + redaction?: ValueListItem.Redaction | null; + /** * The value of the item. */ @@ -123,6 +128,35 @@ export interface DeletedValueListItem { * Always true for a deleted object */ deleted: true; + + /** + * Redaction status of this item. If not null, this item is associated to a redaction job. + */ + redaction?: DeletedValueListItem.Redaction | null; +} +export namespace DeletedValueListItem { + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } +} +export namespace ValueListItem { + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } } export namespace Radar { export interface ValueListItemCreateParams { diff --git a/src/resources/Reserve/Holds.ts b/src/resources/Reserve/Holds.ts index 14e4981639..74d16e580c 100644 --- a/src/resources/Reserve/Holds.ts +++ b/src/resources/Reserve/Holds.ts @@ -90,6 +90,11 @@ export interface Hold { */ reason: Hold.Reason; + /** + * List of ReserveReleases and the amounts released from this ReserveHold. + */ + release_details?: Array; + release_schedule: Hold.ReleaseSchedule; /** @@ -112,6 +117,18 @@ export namespace Hold { export type Reason = 'charge' | 'standalone'; + export interface ReleaseDetail { + /** + * The amount released by the ReserveRelease from this ReserveHold. A positive integer representing how much is released in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). + */ + amount: number; + + /** + * The ReserveRelease which released funds from this ReserveHold (e.g., resrel_123). + */ + reserve_release: string; + } + export interface ReleaseSchedule { /** * The time after which the ReserveHold is requested to be released. diff --git a/src/resources/SetupAttempts.ts b/src/resources/SetupAttempts.ts index 94e7c06492..5603fa0782 100644 --- a/src/resources/SetupAttempts.ts +++ b/src/resources/SetupAttempts.ts @@ -153,6 +153,8 @@ export namespace SetupAttempt { revolut_pay?: PaymentMethodDetails.RevolutPay; + satispay?: PaymentMethodDetails.Satispay; + sepa_debit?: PaymentMethodDetails.SepaDebit; sofort?: PaymentMethodDetails.Sofort; @@ -508,10 +510,17 @@ export namespace SetupAttempt { export interface Payto {} - export interface Pix {} + 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 RevolutPay {} + export interface Satispay {} + export interface SepaDebit {} export interface Sofort { @@ -758,6 +767,7 @@ export namespace SetupAttempt { | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' + | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' @@ -797,6 +807,10 @@ export namespace SetupAttempt { | 'debit_not_authorized' | 'email_invalid' | 'expired_card' + | 'failed_tax_calculation' + | 'financial_account_balance_does_not_support_currency' + | 'financial_account_capability_not_enabled' + | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' diff --git a/src/resources/SetupIntents.ts b/src/resources/SetupIntents.ts index 5e1e53af4b..e352ccae3d 100644 --- a/src/resources/SetupIntents.ts +++ b/src/resources/SetupIntents.ts @@ -278,6 +278,11 @@ export interface SetupIntent { */ payment_method_types: Array; + /** + * Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null. + */ + redaction?: SetupIntent.Redaction | null; + /** * ID of the single_use Mandate generated by the SetupIntent. */ @@ -565,6 +570,13 @@ export namespace SetupIntent { us_bank_account?: PaymentMethodOptions.UsBankAccount; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export type Status = | 'canceled' | 'processing' @@ -591,6 +603,7 @@ export namespace SetupIntent { | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' + | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' @@ -630,6 +643,10 @@ export namespace SetupIntent { | 'debit_not_authorized' | 'email_invalid' | 'expired_card' + | 'failed_tax_calculation' + | 'financial_account_balance_does_not_support_currency' + | 'financial_account_capability_not_enabled' + | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' @@ -1383,6 +1400,10 @@ export namespace SetupIntent { } } } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } } export interface SetupIntentCreateParams { /** @@ -1893,7 +1914,7 @@ export namespace SetupIntentCreateParams { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; @@ -3870,7 +3891,7 @@ export namespace SetupIntentUpdateParams { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; @@ -5735,7 +5756,7 @@ export namespace SetupIntentConfirmParams { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; diff --git a/src/resources/SharedPayment/GrantedTokens.ts b/src/resources/SharedPayment/GrantedTokens.ts index ec3461550d..9540a74262 100644 --- a/src/resources/SharedPayment/GrantedTokens.ts +++ b/src/resources/SharedPayment/GrantedTokens.ts @@ -377,9 +377,19 @@ export namespace GrantedToken { tax_id: string | null; } - export interface Bizum {} + export interface Bizum { + /** + * A unique identifier for the buyer as determined by the local payment processor. + */ + buyer_id?: string | null; + } - export interface Blik {} + export interface Blik { + /** + * A unique and immutable identifier assigned by BLIK to every buyer. + */ + buyer_id?: string | null; + } export interface Boleto { /** @@ -834,7 +844,12 @@ export namespace GrantedToken { pay_id: string | null; } - export interface Pix {} + 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 Promptpay {} diff --git a/src/resources/Sources.ts b/src/resources/Sources.ts index bab07a00e7..f5fe377782 100644 --- a/src/resources/Sources.ts +++ b/src/resources/Sources.ts @@ -184,6 +184,11 @@ export interface Source { receiver?: Source.Receiver; + /** + * Redaction status of this source. If not null, this source is associated to a redaction job. + */ + redaction?: Source.Redaction | null; + redirect?: Source.Redirect; sepa_credit_transfer?: Source.SepaCreditTransfer; @@ -611,6 +616,13 @@ export namespace Source { refund_attributes_status: string; } + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + export interface Redirect { /** * The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`. @@ -787,6 +799,10 @@ export namespace Source { statement_descriptor?: string; } + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } + export namespace SourceOrder { export interface Item { /** diff --git a/src/resources/Subscriptions.ts b/src/resources/Subscriptions.ts index 26ea5cbec5..927c37c6fb 100644 --- a/src/resources/Subscriptions.ts +++ b/src/resources/Subscriptions.ts @@ -35,7 +35,7 @@ export class SubscriptionResource extends StripeResource { /** * Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, the subscription is largely immutable. You can still update its [metadata](https://docs.stripe.com/metadata) and cancellation_details. * - * Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://docs.stripe.com/api/invoiceitems/delete). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true. + * Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://docs.stripe.com/api/invoiceitems/delete). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to false. * * By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. */ @@ -1592,6 +1592,21 @@ export namespace Subscription { */ account_tax_ids: Array | null; + /** + * A list of up to 4 custom fields to be displayed on the invoice. + */ + custom_fields: Array | null; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description: string | null; + + /** + * Footer to be displayed on the invoice. + */ + footer: string | null; + issuer: InvoiceSettings.Issuer; } @@ -1880,6 +1895,18 @@ export namespace Subscription { } export namespace InvoiceSettings { + 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`. @@ -2018,6 +2045,7 @@ export namespace Subscription { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -2762,6 +2790,21 @@ export namespace SubscriptionCreateParams { */ account_tax_ids?: Emptyable>; + /** + * A list of up to 4 custom fields to be displayed on the invoice. + */ + custom_fields?: Emptyable>; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description?: string; + + /** + * Footer to be displayed on the invoice. + */ + footer?: string; + /** * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. */ @@ -3155,6 +3198,18 @@ export namespace SubscriptionCreateParams { } export namespace InvoiceSettings { + export interface CustomField { + /** + * The name of the custom field. This may be up to 40 characters. + */ + name: string; + + /** + * The value of the custom field. This may be up to 140 characters. + */ + value: string; + } + export interface Issuer { /** * The connected account being referenced when `type` is `account`. @@ -3425,6 +3480,7 @@ export namespace SubscriptionCreateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -4116,6 +4172,21 @@ export namespace SubscriptionUpdateParams { */ account_tax_ids?: Emptyable>; + /** + * A list of up to 4 custom fields to be displayed on the invoice. + */ + custom_fields?: Emptyable>; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description?: Emptyable; + + /** + * Footer to be displayed on the invoice. + */ + footer?: Emptyable; + /** * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. */ @@ -4149,7 +4220,7 @@ export namespace SubscriptionUpdateParams { discounts?: Emptyable>; /** - * Subscription item to update. + * Subscription item to update. If you omit `id`, the API adds a new subscription item rather than updating the existing one. See [Changing a subscription's price](https://docs.stripe.com/billing/subscriptions/change-price#changing). */ id?: string; @@ -4528,6 +4599,18 @@ export namespace SubscriptionUpdateParams { } export namespace InvoiceSettings { + export interface CustomField { + /** + * The name of the custom field. This may be up to 40 characters. + */ + name: string; + + /** + * The value of the custom field. This may be up to 140 characters. + */ + value: string; + } + export interface Issuer { /** * The connected account being referenced when `type` is `account`. @@ -4786,6 +4869,7 @@ export namespace SubscriptionUpdateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -5347,7 +5431,7 @@ export interface SubscriptionPauseParams { expand?: Array; /** - * Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`. + * Determines how to handle debits and credits when pausing. Defaults to `pending_invoice_item`. */ invoicing_behavior?: SubscriptionPauseParams.InvoicingBehavior; diff --git a/src/resources/Terminal/Readers.ts b/src/resources/Terminal/Readers.ts index 1f0fc76fb9..492b779ec7 100644 --- a/src/resources/Terminal/Readers.ts +++ b/src/resources/Terminal/Readers.ts @@ -723,6 +723,7 @@ export namespace Reader { | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' + | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' @@ -762,6 +763,10 @@ export namespace Reader { | 'debit_not_authorized' | 'email_invalid' | 'expired_card' + | 'failed_tax_calculation' + | 'financial_account_balance_does_not_support_currency' + | 'financial_account_capability_not_enabled' + | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' diff --git a/src/resources/TestHelpers/ConfirmationTokens.ts b/src/resources/TestHelpers/ConfirmationTokens.ts index ea155ad4cd..164f37f35b 100644 --- a/src/resources/TestHelpers/ConfirmationTokens.ts +++ b/src/resources/TestHelpers/ConfirmationTokens.ts @@ -359,7 +359,7 @@ export namespace TestHelpers { stripe_balance?: PaymentMethodData.StripeBalance; /** - * If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method. + * If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method. */ sunbit?: PaymentMethodData.Sunbit; diff --git a/src/resources/Tokens.ts b/src/resources/Tokens.ts index b90368b22a..4953392240 100644 --- a/src/resources/Tokens.ts +++ b/src/resources/Tokens.ts @@ -84,6 +84,11 @@ export interface Token { */ livemode: boolean; + /** + * Redaction status of this token. If not null, this token is associated to a redaction job. + */ + redaction?: Token.Redaction | null; + /** * Type of the token: `account`, `bank_account`, `card`, or `pii`. */ @@ -94,6 +99,18 @@ export interface Token { */ used: boolean; } +export namespace Token { + export interface Redaction { + /** + * Indicates whether this object and its related objects have been redacted or not. + */ + status: Redaction.Status; + } + + export namespace Redaction { + export type Status = 'processing' | 'redacted' | 'validated'; + } +} export interface TokenCreateParams { /** * Information for the account this token represents. diff --git a/src/resources/Topups.ts b/src/resources/Topups.ts index eac382b2b9..28e2303673 100644 --- a/src/resources/Topups.ts +++ b/src/resources/Topups.ts @@ -194,6 +194,16 @@ export interface TopupCreateParams { */ metadata?: Emptyable; + /** + * The ID of a PaymentMethod representing the payment method to be used for the top-up. A PaymentMethod of type `us_bank_account` can be used. + */ + payment_method?: string; + + /** + * Payment method-specific configuration for this top-up. + */ + payment_method_options?: TopupCreateParams.PaymentMethodOptions; + /** * The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. In test mode, this can be a test bank token (see [Testing Top-ups](https://docs.stripe.com/connect/testing#testing-top-ups)). */ @@ -209,6 +219,17 @@ export interface TopupCreateParams { */ transfer_group?: string; } +export namespace TopupCreateParams { + export interface PaymentMethodOptions { + us_bank_account?: PaymentMethodOptions.UsBankAccount; + } + + export namespace PaymentMethodOptions { + export interface UsBankAccount { + network: 'ach'; + } + } +} export interface TopupRetrieveParams { /** * Specifies which fields in the response should be expanded. diff --git a/src/resources/V2/Commerce/ProductCatalog/Imports.ts b/src/resources/V2/Commerce/ProductCatalog/Imports.ts index b62909961d..574ee100a0 100644 --- a/src/resources/V2/Commerce/ProductCatalog/Imports.ts +++ b/src/resources/V2/Commerce/ProductCatalog/Imports.ts @@ -203,7 +203,11 @@ export namespace V2 { } export namespace ImportCreateParams { - export type FeedType = 'inventory' | 'pricing' | 'product'; + export type FeedType = + | 'inventory' + | 'pricing' + | 'product' + | 'promotion'; export type Mode = 'replace' | 'upsert'; } @@ -268,7 +272,11 @@ export namespace V2 { } export namespace ImportListParams { - export type FeedType = 'inventory' | 'pricing' | 'product'; + export type FeedType = + | 'inventory' + | 'pricing' + | 'product' + | 'promotion'; export type Status = | 'awaiting_upload' diff --git a/src/resources/V2/Commerce/ProductCatalogImports.ts b/src/resources/V2/Commerce/ProductCatalogImports.ts index c2b66bbcf1..d2db5544d8 100644 --- a/src/resources/V2/Commerce/ProductCatalogImports.ts +++ b/src/resources/V2/Commerce/ProductCatalogImports.ts @@ -33,6 +33,11 @@ export interface ProductCatalogImport { */ metadata: Metadata; + /** + * The import strategy for handling existing catalog data. + */ + mode: ProductCatalogImport.Mode; + /** * The current status of this ProductCatalogImport. */ @@ -44,7 +49,9 @@ export interface ProductCatalogImport { status_details?: ProductCatalogImport.StatusDetails; } export namespace ProductCatalogImport { - export type FeedType = 'inventory' | 'pricing' | 'product'; + export type FeedType = 'inventory' | 'pricing' | 'product' | 'promotion'; + + export type Mode = 'replace' | 'upsert'; export type Status = | 'awaiting_upload' diff --git a/src/resources/V2/Core/AccountLinks.ts b/src/resources/V2/Core/AccountLinks.ts index b8a337e675..67e37d5c41 100644 --- a/src/resources/V2/Core/AccountLinks.ts +++ b/src/resources/V2/Core/AccountLinks.ts @@ -137,6 +137,7 @@ export namespace AccountLink { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; @@ -163,6 +164,7 @@ export namespace AccountLink { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; @@ -269,6 +271,7 @@ export namespace V2 { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; @@ -295,6 +298,7 @@ export namespace V2 { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; diff --git a/src/resources/V2/Core/AccountTokens.ts b/src/resources/V2/Core/AccountTokens.ts index c8dc696953..0e72837e9c 100644 --- a/src/resources/V2/Core/AccountTokens.ts +++ b/src/resources/V2/Core/AccountTokens.ts @@ -377,7 +377,7 @@ export namespace V2 { /** * Details on the Account's acceptance of Treasury-specific terms of service; IP, date, and User Agent are expanded by Stripe. */ - storer?: TermsOfService.Storer; + money_manager?: TermsOfService.MoneyManager; } export namespace PersonsProvided { @@ -394,7 +394,7 @@ export namespace V2 { shown_and_accepted?: boolean; } - export interface Storer { + export interface MoneyManager { /** * The boolean value indicating if the terms of service have been accepted. */ diff --git a/src/resources/V2/Core/Accounts.ts b/src/resources/V2/Core/Accounts.ts index 717e71161c..77b9d838d3 100644 --- a/src/resources/V2/Core/Accounts.ts +++ b/src/resources/V2/Core/Accounts.ts @@ -328,7 +328,7 @@ export namespace Account { | 'customer' | 'merchant' | 'recipient' - | 'storer'; + | 'money_manager'; export interface Configuration { /** @@ -342,14 +342,14 @@ export namespace Account { 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. + * The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts. */ - recipient?: Configuration.Recipient; + money_manager?: Configuration.MoneyManager; /** - * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts. + * 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. */ - storer?: Configuration.Storer; + recipient?: Configuration.Recipient; } export type Dashboard = 'express' | 'full' | 'none'; @@ -532,33 +532,33 @@ export namespace Account { support?: Merchant.Support; } - export interface Recipient { + export interface MoneyManager { /** - * 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. + * Indicates whether the money manager configuration is active. You cannot deactivate (or reactivate) the money manager configuration by updating this property. */ applied: boolean; /** - * Capabilities that have been requested on the Recipient Configuration. + * Capabilities that have been requested on the Money Manager Configuration. */ - capabilities?: Recipient.Capabilities; + capabilities?: MoneyManager.Capabilities; + } + export interface Recipient { /** - * 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. + * 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. */ - default_outbound_destination?: Recipient.DefaultOutboundDestination; - } + applied: boolean; - export interface Storer { /** - * Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property. + * Capabilities that have been requested on the Recipient Configuration. */ - applied: boolean; + capabilities?: Recipient.Capabilities; /** - * Capabilities that have been requested on the Storer Configuration. + * 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. */ - capabilities?: Storer.Capabilities; + default_outbound_destination?: Recipient.DefaultOutboundDestination; } export namespace Customer { @@ -1029,6 +1029,11 @@ export namespace Account { */ stripe_balance?: Capabilities.StripeBalance; + /** + * Allow the merchant to process Sunbit payments. + */ + sunbit_payments?: Capabilities.SunbitPayments; + /** * Allow the merchant to process Swish payments. */ @@ -1612,6 +1617,18 @@ export namespace Account { payouts?: StripeBalance.Payouts; } + export interface SunbitPayments { + /** + * The status of the Capability. + */ + status: SunbitPayments.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + export interface SwishPayments { /** * The status of the Capability. @@ -3150,6 +3167,42 @@ export namespace Account { } } + export namespace SunbitPayments { + 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' @@ -3428,527 +3481,643 @@ export namespace Account { } } - export namespace Recipient { + export namespace MoneyManager { export interface Capabilities { /** - * Capabilities that enable OutboundPayments to a bank account linked to this Account. + * Can send or receive business storage-type funds on Stripe. */ - bank_accounts?: Capabilities.BankAccounts; + business_storage?: Capabilities.BusinessStorage; /** - * Enables this Account to receive OutboundPayments to a linked debit card. + * Hash containing capabilities related to InboundTransfers. */ - cards?: Capabilities.Cards; + inbound_transfers?: Capabilities.InboundTransfers; /** - * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + * Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview). */ - stripe_balance?: Capabilities.StripeBalance; - } + outbound_payments?: Capabilities.OutboundPayments; - export interface DefaultOutboundDestination { /** - * The payout method ID of the default outbound destination. + * Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview). */ - id: string; + outbound_transfers?: Capabilities.OutboundTransfers; /** - * Closed Enum. The payout method type of the default outbound destination. + * Hash containing capabilities related to ReceivedCredits. */ - type: DefaultOutboundDestination.Type; + received_credits?: Capabilities.ReceivedCredits; + + /** + * Hash containing capabilities related to ReceivedDebits. + */ + received_debits?: Capabilities.ReceivedDebits; } export namespace Capabilities { - export interface BankAccounts { + export interface BusinessStorage { /** - * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. + * Can receive business storage-type funds on Stripe. */ - local?: BankAccounts.Local; + inbound?: BusinessStorage.Inbound; /** - * Enables this Account to receive OutboundPayments to linked bank accounts over wire. + * Can send business storage-type funds on Stripe. */ - wire?: BankAccounts.Wire; + outbound?: BusinessStorage.Outbound; } - export interface Cards { + export interface InboundTransfers { /** - * The status of the Capability. + * Can pull funds into a FinancialAccount from an external bank account owned by the user. */ - status: Cards.Status; + bank_accounts?: InboundTransfers.BankAccounts; + } + export interface OutboundPayments { /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * Can send funds from a FinancialAccount to a bank account owned by a different entity. */ - status_details: Array; + bank_accounts?: OutboundPayments.BankAccounts; + + /** + * Can send funds from a FinancialAccount to a debit card owned by a different entity. + */ + cards?: OutboundPayments.Cards; + + /** + * Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity. + */ + financial_accounts?: OutboundPayments.FinancialAccounts; } - export interface StripeBalance { + export interface OutboundTransfers { /** - * Enables this Account to complete payouts from their Stripe Balance (/v1/balance). + * Can send funds from a FinancialAccount to a bank account belonging to the same user. */ - payouts?: StripeBalance.Payouts; + bank_accounts?: OutboundTransfers.BankAccounts; /** - * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + * Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user. */ - stripe_transfers?: StripeBalance.StripeTransfers; + financial_accounts?: OutboundTransfers.FinancialAccounts; } - export namespace BankAccounts { - export interface Local { + export interface ReceivedCredits { + /** + * Can receive credits to a bank-account like financial address to credit a FinancialAccount. + */ + bank_accounts?: ReceivedCredits.BankAccounts; + } + + export interface ReceivedDebits { + /** + * Can receive debits to a FinancialAccount from a bank account. + */ + bank_accounts?: ReceivedDebits.BankAccounts; + } + + export namespace BusinessStorage { + export interface Inbound { /** - * The status of the Capability. + * Can receive business storage-type funds on Stripe in AUD. */ - status: Local.Status; + aud?: Inbound.Aud; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * Can receive business storage-type funds on Stripe in CAD. */ - status_details: Array; - } + cad?: Inbound.Cad; - export interface Wire { /** - * The status of the Capability. + * Can receive business storage-type funds on Stripe in EUR. */ - status: Wire.Status; + eur?: Inbound.Eur; /** - * Additional details about the capability's status. This value is empty when `status` is `active`. + * Can receive business storage-type funds on Stripe in GBP. */ - status_details: Array; + gbp?: Inbound.Gbp; + + /** + * Can receive business storage-type funds on Stripe in USD. + */ + usd?: Inbound.Usd; } - export namespace Local { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface Outbound { + /** + * Can send business storage-type funds on Stripe in AUD. + */ + aud?: Outbound.Aud; - export interface StatusDetail { + /** + * Can send business storage-type funds on Stripe in CAD. + */ + cad?: Outbound.Cad; + + /** + * Can send business storage-type funds on Stripe in EUR. + */ + eur?: Outbound.Eur; + + /** + * Can send business storage-type funds on Stripe in GBP. + */ + gbp?: Outbound.Gbp; + + /** + * Can send business storage-type funds on Stripe in USD. + */ + usd?: Outbound.Usd; + } + + export namespace Inbound { + export interface Aud { /** - * Machine-readable code explaining the reason for the Capability to be in its current status. + * The status of the Capability. */ - code: StatusDetail.Code; + status: Aud.Status; /** - * Machine-readable code explaining how to make the Capability active. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - resolution: StatusDetail.Resolution; + 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 interface Cad { + /** + * The status of the Capability. + */ + status: Cad.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 Wire { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; - export interface StatusDetail { + export interface Eur { /** - * Machine-readable code explaining the reason for the Capability to be in its current status. + * The status of the Capability. */ - code: StatusDetail.Code; + status: Eur.Status; /** - * Machine-readable code explaining how to make the Capability active. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - resolution: StatusDetail.Resolution; + 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 interface Gbp { + /** + * The status of the Capability. + */ + status: Gbp.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 Cards { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface Usd { + /** + * The status of the Capability. + */ + status: Usd.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 Aud { + 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 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 Cad { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export interface StripeTransfers { - /** - * The status of the Capability. - */ - status: StripeTransfers.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 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 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 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 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 Usd { + 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 Payouts { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export namespace Outbound { + export interface Aud { + /** + * The status of the Capability. + */ + status: Aud.Status; - export interface StatusDetail { /** - * Machine-readable code explaining the reason for the Capability to be in its current status. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - code: StatusDetail.Code; + status_details: Array; + } + export interface Cad { /** - * Machine-readable code explaining how to make the Capability active. + * The status of the Capability. */ - resolution: StatusDetail.Resolution; + status: Cad.Status; + + /** + * 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 interface Eur { + /** + * The status of the Capability. + */ + status: Eur.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 StripeTransfers { - export type Status = - | 'active' - | 'pending' - | 'restricted' - | 'unsupported'; + export interface Gbp { + /** + * The status of the Capability. + */ + status: Gbp.Status; - export interface StatusDetail { /** - * Machine-readable code explaining the reason for the Capability to be in its current status. + * Additional details about the capability's status. This value is empty when `status` is `active`. */ - code: StatusDetail.Code; + status_details: Array; + } + export interface Usd { /** - * Machine-readable code explaining how to make the Capability active. + * The status of the Capability. */ - resolution: StatusDetail.Resolution; + status: Usd.Status; + + /** + * 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 namespace Aud { + 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 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 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'; - } - } + export namespace Cad { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - export namespace Storer { - export interface Capabilities { - /** - * Can provision a financial address to credit/debit a FinancialAccount. - */ - financial_addresses?: Capabilities.FinancialAddresses; + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - /** - * Can hold storage-type funds on Stripe. - */ - holds_currencies?: Capabilities.HoldsCurrencies; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Hash containing capabilities related to InboundTransfers. - */ - inbound_transfers?: Capabilities.InboundTransfers; + 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'; + } + } - /** - * Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview). - */ - outbound_payments?: Capabilities.OutboundPayments; + export namespace Eur { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview). - */ - outbound_transfers?: Capabilities.OutboundTransfers; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export namespace Capabilities { - export interface FinancialAddresses { - /** - * Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount. - */ - bank_accounts?: FinancialAddresses.BankAccounts; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface HoldsCurrencies { - /** - * Can hold storage-type funds on Stripe in EUR. - */ - eur?: HoldsCurrencies.Eur; + 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'; + } + } - /** - * Can hold storage-type funds on Stripe in GBP. - */ - gbp?: HoldsCurrencies.Gbp; + export namespace Gbp { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Can hold storage-type funds on Stripe in USD. - */ - usd?: HoldsCurrencies.Usd; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface InboundTransfers { - /** - * Can pull funds into a FinancialAccount from an external bank account owned by the user. - */ - bank_accounts?: InboundTransfers.BankAccounts; - } + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - export interface OutboundPayments { - /** - * Can send funds from a FinancialAccount to a bank account owned by a different entity. - */ - bank_accounts?: OutboundPayments.BankAccounts; + 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'; + } + } - /** - * Can send funds from a FinancialAccount to a debit card owned by a different entity. - */ - cards?: OutboundPayments.Cards; + export namespace Usd { + export type Status = + | 'active' + | 'pending' + | 'restricted' + | 'unsupported'; - /** - * Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity. - */ - financial_accounts?: OutboundPayments.FinancialAccounts; - } + export interface StatusDetail { + /** + * Machine-readable code explaining the reason for the Capability to be in its current status. + */ + code: StatusDetail.Code; - export interface OutboundTransfers { - /** - * Can send funds from a FinancialAccount to a bank account belonging to the same user. - */ - bank_accounts?: OutboundTransfers.BankAccounts; + /** + * Machine-readable code explaining how to make the Capability active. + */ + resolution: StatusDetail.Resolution; + } - /** - * Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user. - */ - financial_accounts?: OutboundTransfers.FinancialAccounts; + 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 FinancialAddresses { + export namespace InboundTransfers { export interface BankAccounts { /** * The status of the Capability. @@ -3998,44 +4167,44 @@ export namespace Account { } } - export namespace HoldsCurrencies { - export interface Eur { + export namespace OutboundPayments { + export interface BankAccounts { /** * The status of the Capability. */ - status: Eur.Status; + status: BankAccounts.Status; /** * Additional details about the capability's status. This value is empty when `status` is `active`. */ - status_details: Array; + status_details: Array; } - export interface Gbp { + export interface Cards { /** * The status of the Capability. */ - status: Gbp.Status; + status: Cards.Status; /** * Additional details about the capability's status. This value is empty when `status` is `active`. */ - status_details: Array; + status_details: Array; } - export interface Usd { + export interface FinancialAccounts { /** * The status of the Capability. */ - status: Usd.Status; + status: FinancialAccounts.Status; /** * Additional details about the capability's status. This value is empty when `status` is `active`. */ - status_details: Array; + status_details: Array; } - export namespace Eur { + export namespace BankAccounts { export type Status = | 'active' | 'pending' @@ -4071,7 +4240,7 @@ export namespace Account { } } - export namespace Gbp { + export namespace Cards { export type Status = | 'active' | 'pending' @@ -4107,7 +4276,7 @@ export namespace Account { } } - export namespace Usd { + export namespace FinancialAccounts { export type Status = | 'active' | 'pending' @@ -4144,7 +4313,7 @@ export namespace Account { } } - export namespace InboundTransfers { + export namespace OutboundTransfers { export interface BankAccounts { /** * The status of the Capability. @@ -4157,6 +4326,18 @@ export namespace Account { status_details: Array; } + export interface FinancialAccounts { + /** + * The status of the Capability. + */ + status: FinancialAccounts.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + export namespace BankAccounts { export type Status = | 'active' @@ -4192,9 +4373,45 @@ export namespace Account { | 'provide_info'; } } + + export namespace FinancialAccounts { + 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 OutboundPayments { + export namespace ReceivedCredits { export interface BankAccounts { /** * The status of the Capability. @@ -4207,28 +4424,54 @@ export namespace Account { status_details: Array; } - export interface Cards { - /** - * The status of the Capability. - */ - status: Cards.Status; + export namespace BankAccounts { + 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; + + /** + * 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 interface FinancialAccounts { + export namespace ReceivedDebits { + export interface BankAccounts { /** * The status of the Capability. */ - status: FinancialAccounts.Status; + status: BankAccounts.Status; /** * Additional details about the capability's status. This value is empty when `status` is `active`. */ - status_details: Array; + status_details: Array; } export namespace BankAccounts { @@ -4266,8 +4509,103 @@ export namespace Account { | 'provide_info'; } } + } + } + } - export namespace Cards { + export namespace Recipient { + export interface Capabilities { + /** + * Capabilities that enable OutboundPayments to a bank account linked to this Account. + */ + bank_accounts?: Capabilities.BankAccounts; + + /** + * Enables this Account to receive OutboundPayments to a linked debit card. + */ + cards?: Capabilities.Cards; + + /** + * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; + } + + export interface DefaultOutboundDestination { + /** + * The payout method ID of the default outbound destination. + */ + id: string; + + /** + * Closed Enum. The payout method type of the default outbound destination. + */ + type: DefaultOutboundDestination.Type; + } + + export namespace Capabilities { + export interface BankAccounts { + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. + */ + local?: BankAccounts.Local; + + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over wire. + */ + wire?: BankAccounts.Wire; + } + + export interface Cards { + /** + * The status of the Capability. + */ + status: Cards.Status; + + /** + * 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; + + /** + * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + */ + stripe_transfers?: StripeBalance.StripeTransfers; + } + + export namespace BankAccounts { + export interface Local { + /** + * The status of the Capability. + */ + status: Local.Status; + + /** + * Additional details about the capability's status. This value is empty when `status` is `active`. + */ + status_details: Array; + } + + export interface Wire { + /** + * 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 Local { export type Status = | 'active' | 'pending' @@ -4303,7 +4641,7 @@ export namespace Account { } } - export namespace FinancialAccounts { + export namespace Wire { export type Status = | 'active' | 'pending' @@ -4340,32 +4678,68 @@ export namespace Account { } } - export namespace OutboundTransfers { - export interface BankAccounts { + export namespace Cards { + 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: BankAccounts.Status; + status: Payouts.Status; /** * Additional details about the capability's status. This value is empty when `status` is `active`. */ - status_details: Array; + status_details: Array; } - export interface FinancialAccounts { + export interface StripeTransfers { /** * The status of the Capability. */ - status: FinancialAccounts.Status; + status: StripeTransfers.Status; /** * Additional details about the capability's status. This value is empty when `status` is `active`. */ - status_details: Array; + status_details: Array; } - export namespace BankAccounts { + export namespace Payouts { export type Status = | 'active' | 'pending' @@ -4401,7 +4775,7 @@ export namespace Account { } } - export namespace FinancialAccounts { + export namespace StripeTransfers { export type Status = | 'active' | 'pending' @@ -4438,6 +4812,136 @@ export namespace Account { } } } + + 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'; + } } } @@ -4552,7 +5056,7 @@ export namespace Account { fees_collector?: Responsibilities.FeesCollector; /** - * A value indicating responsibility for collecting requirements on this account. + * A value indicating the responsibility for losses on this account. */ losses_collector?: Responsibilities.LossesCollector; @@ -4808,6 +5312,12 @@ export namespace Account { | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' + | 'business_storage.inbound.eur' + | 'business_storage.inbound.gbp' + | 'business_storage.inbound.usd' + | 'business_storage.outbound.eur' + | 'business_storage.outbound.gbp' + | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' @@ -4844,6 +5354,8 @@ export namespace Account { | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' + | 'received_credits.bank_accounts' + | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' @@ -4858,6 +5370,7 @@ export namespace Account { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; @@ -5205,7 +5718,7 @@ export namespace Account { /** * Details on the Account's acceptance of Treasury-specific terms of service. */ - storer?: TermsOfService.Storer; + money_manager?: TermsOfService.MoneyManager; } export namespace PersonsProvided { @@ -5232,7 +5745,7 @@ export namespace Account { user_agent?: string; } - export interface Storer { + export interface MoneyManager { /** * 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. */ @@ -6579,6 +7092,12 @@ export namespace Account { | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' + | 'business_storage.inbound.eur' + | 'business_storage.inbound.gbp' + | 'business_storage.inbound.usd' + | 'business_storage.outbound.eur' + | 'business_storage.outbound.gbp' + | 'business_storage.outbound.usd' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' @@ -6615,6 +7134,8 @@ export namespace Account { | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' + | 'received_credits.bank_accounts' + | 'received_debits.bank_accounts' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' @@ -6629,6 +7150,7 @@ export namespace Account { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; @@ -6747,14 +7269,14 @@ export namespace V2 { 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. + * The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts. */ - recipient?: Configuration.Recipient; + money_manager?: Configuration.MoneyManager; /** - * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts. + * 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. */ - storer?: Configuration.Storer; + recipient?: Configuration.Recipient; } export type Dashboard = 'express' | 'full' | 'none'; @@ -6817,7 +7339,7 @@ export namespace V2 { | 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' - | 'configuration.storer' + | 'configuration.money_manager' | 'defaults' | 'future_requirements' | 'identity' @@ -6903,18 +7425,18 @@ export namespace V2 { support?: Merchant.Support; } - export interface Recipient { + export interface MoneyManager { /** - * Capabilities to be requested on the Recipient Configuration. + * Capabilities to request on the Money Manager Configuration. */ - capabilities?: Recipient.Capabilities; + capabilities?: MoneyManager.Capabilities; } - export interface Storer { + export interface Recipient { /** - * Capabilities to request on the Storer Configuration. + * Capabilities to be requested on the Recipient Configuration. */ - capabilities?: Storer.Capabilities; + capabilities?: Recipient.Capabilities; } export namespace Customer { @@ -7278,6 +7800,11 @@ export namespace V2 { */ sepa_debit_payments?: Capabilities.SepaDebitPayments; + /** + * Allow the merchant to process Sunbit payments. + */ + sunbit_payments?: Capabilities.SunbitPayments; + /** * Allow the merchant to process Swish payments. */ @@ -7647,6 +8174,13 @@ export namespace V2 { requested: boolean; } + export interface SunbitPayments { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + export interface SwishPayments { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. @@ -7802,89 +8336,12 @@ export namespace V2 { } } - export namespace Recipient { - export interface Capabilities { - /** - * Capabilities that enable OutboundPayments to a bank account linked to this Account. - */ - bank_accounts?: Capabilities.BankAccounts; - - /** - * Capabilities that enable OutboundPayments to a card linked to this Account. - */ - cards?: Capabilities.Cards; - - /** - * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). - */ - stripe_balance?: Capabilities.StripeBalance; - } - - export namespace Capabilities { - export interface BankAccounts { - /** - * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. - */ - local?: BankAccounts.Local; - - /** - * Enables this Account to receive OutboundPayments to linked bank accounts over wire. - */ - wire?: BankAccounts.Wire; - } - - export interface Cards { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested: boolean; - } - - export interface StripeBalance { - /** - * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). - */ - stripe_transfers?: StripeBalance.StripeTransfers; - } - - export namespace BankAccounts { - export interface Local { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested: boolean; - } - - export interface Wire { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested: boolean; - } - } - - export namespace StripeBalance { - export interface StripeTransfers { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested: boolean; - } - } - } - } - - export namespace Storer { + export namespace MoneyManager { export interface Capabilities { /** - * Can provision a financial address to credit/debit a FinancialAccount. - */ - financial_addresses?: Capabilities.FinancialAddresses; - - /** - * Can hold storage-type funds on Stripe. + * Can send or receive business storage-type funds on Stripe. */ - holds_currencies?: Capabilities.HoldsCurrencies; + business_storage?: Capabilities.BusinessStorage; /** * Can pull funds from an external source, owned by yourself, to a FinancialAccount. @@ -7900,31 +8357,29 @@ export namespace V2 { * Can send funds from a FinancialAccount to a destination owned by yourself. */ outbound_transfers?: Capabilities.OutboundTransfers; - } - export namespace Capabilities { - export interface FinancialAddresses { - /** - * Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount. - */ - bank_accounts?: FinancialAddresses.BankAccounts; - } + /** + * Can receive funds into a FinancialAccount. + */ + received_credits?: Capabilities.ReceivedCredits; - export interface HoldsCurrencies { - /** - * Can hold storage-type funds on Stripe in EUR. - */ - eur?: HoldsCurrencies.Eur; + /** + * Can receive debits to a FinancialAccount. + */ + received_debits?: Capabilities.ReceivedDebits; + } + export namespace Capabilities { + export interface BusinessStorage { /** - * Can hold storage-type funds on Stripe in GBP. + * Can receive business storage-type funds on Stripe. */ - gbp?: HoldsCurrencies.Gbp; + inbound?: BusinessStorage.Inbound; /** - * Can hold storage-type funds on Stripe in USD. + * Can send business storage-type funds on Stripe. */ - usd?: HoldsCurrencies.Usd; + outbound?: BusinessStorage.Outbound; } export interface InboundTransfers { @@ -7963,7 +8418,151 @@ export namespace V2 { financial_accounts?: OutboundTransfers.FinancialAccounts; } - export namespace FinancialAddresses { + export interface ReceivedCredits { + /** + * Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount. + */ + bank_accounts?: ReceivedCredits.BankAccounts; + } + + export interface ReceivedDebits { + /** + * Can receive debits to a FinancialAccount from a bank account. + */ + bank_accounts?: ReceivedDebits.BankAccounts; + } + + export namespace BusinessStorage { + export interface Inbound { + /** + * Can receive business storage-type funds on Stripe in AUD. + */ + aud?: Inbound.Aud; + + /** + * Can receive business storage-type funds on Stripe in CAD. + */ + cad?: Inbound.Cad; + + /** + * Can receive business storage-type funds on Stripe in EUR. + */ + eur?: Inbound.Eur; + + /** + * Can receive business storage-type funds on Stripe in GBP. + */ + gbp?: Inbound.Gbp; + + /** + * Can receive business storage-type funds on Stripe in USD. + */ + usd?: Inbound.Usd; + } + + export interface Outbound { + /** + * Can send business storage-type funds on Stripe in AUD. + */ + aud?: Outbound.Aud; + + /** + * Can send business storage-type funds on Stripe in CAD. + */ + cad?: Outbound.Cad; + + /** + * Can send business storage-type funds on Stripe in EUR. + */ + eur?: Outbound.Eur; + + /** + * Can send business storage-type funds on Stripe in GBP. + */ + gbp?: Outbound.Gbp; + + /** + * Can send business storage-type funds on Stripe in USD. + */ + usd?: Outbound.Usd; + } + + export namespace Inbound { + export interface Aud { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Cad { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Eur { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Gbp { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Usd { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + } + + export namespace Outbound { + export interface Aud { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Cad { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Eur { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Gbp { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface Usd { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + } + } + + export namespace InboundTransfers { export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. @@ -7972,22 +8571,22 @@ export namespace V2 { } } - export namespace HoldsCurrencies { - export interface Eur { + export namespace OutboundPayments { + export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested: boolean; } - export interface Gbp { + export interface Cards { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested: boolean; } - export interface Usd { + export interface FinancialAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ @@ -7995,31 +8594,96 @@ export namespace V2 { } } - export namespace InboundTransfers { + export namespace OutboundTransfers { export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested: boolean; } + + export interface FinancialAccounts { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } } - export namespace OutboundPayments { + export namespace ReceivedCredits { + export interface BankAccounts { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + } + + export namespace ReceivedDebits { export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested: boolean; } + } + } + } + + export namespace Recipient { + export interface Capabilities { + /** + * Capabilities that enable OutboundPayments to a bank account linked to this Account. + */ + bank_accounts?: Capabilities.BankAccounts; + + /** + * Capabilities that enable OutboundPayments to a card linked to this Account. + */ + cards?: Capabilities.Cards; + + /** + * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; + } + + export namespace Capabilities { + export interface BankAccounts { + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. + */ + local?: BankAccounts.Local; + + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over wire. + */ + wire?: BankAccounts.Wire; + } + + export interface Cards { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested: boolean; + } + + export interface StripeBalance { + /** + * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + */ + stripe_transfers?: StripeBalance.StripeTransfers; + } - export interface Cards { + export namespace BankAccounts { + export interface Local { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested: boolean; } - export interface FinancialAccounts { + export interface Wire { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ @@ -8027,15 +8691,8 @@ export namespace V2 { } } - export namespace OutboundTransfers { - export interface BankAccounts { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested: boolean; - } - - export interface FinancialAccounts { + export namespace StripeBalance { + export interface StripeTransfers { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ @@ -8439,7 +9096,7 @@ export namespace V2 { /** * Details on the Account's acceptance of Treasury-specific terms of service. */ - storer?: TermsOfService.Storer; + money_manager?: TermsOfService.MoneyManager; } export namespace PersonsProvided { @@ -8466,7 +9123,7 @@ export namespace V2 { user_agent?: string; } - export interface Storer { + export interface MoneyManager { /** * 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. */ @@ -9565,7 +10222,7 @@ export namespace V2 { | 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' - | 'configuration.storer' + | 'configuration.money_manager' | 'defaults' | 'future_requirements' | 'identity' @@ -9640,14 +10297,14 @@ export namespace V2 { 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. + * The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts. */ - recipient?: Configuration.Recipient; + money_manager?: Configuration.MoneyManager; /** - * The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts. + * 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. */ - storer?: Configuration.Storer; + recipient?: Configuration.Recipient; } export type Dashboard = 'express' | 'full' | 'none'; @@ -9710,7 +10367,7 @@ export namespace V2 { | 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' - | 'configuration.storer' + | 'configuration.money_manager' | 'defaults' | 'future_requirements' | 'identity' @@ -9806,33 +10463,33 @@ export namespace V2 { support?: Merchant.Support; } - export interface Recipient { + export interface MoneyManager { /** * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration. */ applied?: boolean; /** - * Capabilities to request on the Recipient Configuration. - */ - capabilities?: Recipient.Capabilities; - - /** - * The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details). + * Capabilities to request on the Money Manager Configuration. */ - default_outbound_destination?: string; + capabilities?: MoneyManager.Capabilities; } - export interface Storer { + export interface Recipient { /** * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration. */ applied?: boolean; /** - * Capabilities to request on the Storer Configuration. + * Capabilities to request on the Recipient Configuration. + */ + capabilities?: Recipient.Capabilities; + + /** + * The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details). */ - capabilities?: Storer.Capabilities; + default_outbound_destination?: string; } export namespace Customer { @@ -10208,6 +10865,11 @@ export namespace V2 { */ sepa_debit_payments?: Capabilities.SepaDebitPayments; + /** + * Allow the merchant to process Sunbit payments. + */ + sunbit_payments?: Capabilities.SunbitPayments; + /** * Allow the merchant to process Swish payments. */ @@ -10577,6 +11239,13 @@ export namespace V2 { requested?: boolean; } + export interface SunbitPayments { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + export interface SwishPayments { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. @@ -10693,89 +11362,12 @@ export namespace V2 { } } - export namespace Recipient { - export interface Capabilities { - /** - * Capabilities that enable OutboundPayments to a bank account linked to this Account. - */ - bank_accounts?: Capabilities.BankAccounts; - - /** - * Capability that enable OutboundPayments to a debit card linked to this Account. - */ - cards?: Capabilities.Cards; - - /** - * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). - */ - stripe_balance?: Capabilities.StripeBalance; - } - - export namespace Capabilities { - export interface BankAccounts { - /** - * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. - */ - local?: BankAccounts.Local; - - /** - * Enables this Account to receive OutboundPayments to linked bank accounts over wire. - */ - wire?: BankAccounts.Wire; - } - - export interface Cards { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested?: boolean; - } - - export interface StripeBalance { - /** - * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). - */ - stripe_transfers?: StripeBalance.StripeTransfers; - } - - export namespace BankAccounts { - export interface Local { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested?: boolean; - } - - export interface Wire { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested?: boolean; - } - } - - export namespace StripeBalance { - export interface StripeTransfers { - /** - * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. - */ - requested?: boolean; - } - } - } - } - - export namespace Storer { + export namespace MoneyManager { export interface Capabilities { /** - * Can provision a financial address to credit/debit a FinancialAccount. - */ - financial_addresses?: Capabilities.FinancialAddresses; - - /** - * Can hold storage-type funds on Stripe. + * Can send or receive business storage-type funds on Stripe. */ - holds_currencies?: Capabilities.HoldsCurrencies; + business_storage?: Capabilities.BusinessStorage; /** * Can pull funds from an external source, owned by yourself, to a FinancialAccount. @@ -10791,31 +11383,29 @@ export namespace V2 { * Can send funds from a FinancialAccount to a destination owned by yourself. */ outbound_transfers?: Capabilities.OutboundTransfers; - } - export namespace Capabilities { - export interface FinancialAddresses { - /** - * Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount. - */ - bank_accounts?: FinancialAddresses.BankAccounts; - } + /** + * Can receive funds on a financial address to credit a FinancialAccount. + */ + received_credits?: Capabilities.ReceivedCredits; - export interface HoldsCurrencies { - /** - * Can hold storage-type funds on Stripe in EUR. - */ - eur?: HoldsCurrencies.Eur; + /** + * Can receive debits to a FinancialAccount. + */ + received_debits?: Capabilities.ReceivedDebits; + } + export namespace Capabilities { + export interface BusinessStorage { /** - * Can hold storage-type funds on Stripe in GBP. + * Can receive business storage-type funds on Stripe. */ - gbp?: HoldsCurrencies.Gbp; + inbound?: BusinessStorage.Inbound; /** - * Can hold storage-type funds on Stripe in USD. + * Can send business storage-type funds on Stripe. */ - usd?: HoldsCurrencies.Usd; + outbound?: BusinessStorage.Outbound; } export interface InboundTransfers { @@ -10854,7 +11444,151 @@ export namespace V2 { financial_accounts?: OutboundTransfers.FinancialAccounts; } - export namespace FinancialAddresses { + export interface ReceivedCredits { + /** + * Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount. + */ + bank_accounts?: ReceivedCredits.BankAccounts; + } + + export interface ReceivedDebits { + /** + * Can receive debits to a FinancialAccount from a bank account. + */ + bank_accounts?: ReceivedDebits.BankAccounts; + } + + export namespace BusinessStorage { + export interface Inbound { + /** + * Can receive business storage-type funds on Stripe in AUD. + */ + aud?: Inbound.Aud; + + /** + * Can receive business storage-type funds on Stripe in CAD. + */ + cad?: Inbound.Cad; + + /** + * Can receive business storage-type funds on Stripe in EUR. + */ + eur?: Inbound.Eur; + + /** + * Can receive business storage-type funds on Stripe in GBP. + */ + gbp?: Inbound.Gbp; + + /** + * Can receive business storage-type funds on Stripe in USD. + */ + usd?: Inbound.Usd; + } + + export interface Outbound { + /** + * Can send business storage-type funds on Stripe in AUD. + */ + aud?: Outbound.Aud; + + /** + * Can send business storage-type funds on Stripe in CAD. + */ + cad?: Outbound.Cad; + + /** + * Can send business storage-type funds on Stripe in EUR. + */ + eur?: Outbound.Eur; + + /** + * Can send business storage-type funds on Stripe in GBP. + */ + gbp?: Outbound.Gbp; + + /** + * Can send business storage-type funds on Stripe in USD. + */ + usd?: Outbound.Usd; + } + + export namespace Inbound { + export interface Aud { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Cad { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Eur { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Gbp { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Usd { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + } + + export namespace Outbound { + export interface Aud { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Cad { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Eur { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Gbp { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface Usd { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + } + } + + export namespace InboundTransfers { export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. @@ -10863,22 +11597,22 @@ export namespace V2 { } } - export namespace HoldsCurrencies { - export interface Eur { + export namespace OutboundPayments { + export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } - export interface Gbp { + export interface Cards { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } - export interface Usd { + export interface FinancialAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ @@ -10886,47 +11620,105 @@ export namespace V2 { } } - export namespace InboundTransfers { + export namespace OutboundTransfers { export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } + + export interface FinancialAccounts { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } } - export namespace OutboundPayments { + export namespace ReceivedCredits { export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } + } - export interface Cards { + export namespace ReceivedDebits { + export interface BankAccounts { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } + } + } + } - export interface FinancialAccounts { + export namespace Recipient { + export interface Capabilities { + /** + * Capabilities that enable OutboundPayments to a bank account linked to this Account. + */ + bank_accounts?: Capabilities.BankAccounts; + + /** + * Capability that enable OutboundPayments to a debit card linked to this Account. + */ + cards?: Capabilities.Cards; + + /** + * Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). + */ + stripe_balance?: Capabilities.StripeBalance; + } + + export namespace Capabilities { + export interface BankAccounts { + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over local networks. + */ + local?: BankAccounts.Local; + + /** + * Enables this Account to receive OutboundPayments to linked bank accounts over wire. + */ + wire?: BankAccounts.Wire; + } + + export interface Cards { + /** + * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + */ + requested?: boolean; + } + + export interface StripeBalance { + /** + * Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance). + */ + stripe_transfers?: StripeBalance.StripeTransfers; + } + + export namespace BankAccounts { + export interface Local { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } - } - export namespace OutboundTransfers { - export interface BankAccounts { + export interface Wire { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ requested?: boolean; } + } - export interface FinancialAccounts { + export namespace StripeBalance { + export interface StripeTransfers { /** * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. */ @@ -11328,14 +12120,14 @@ export namespace V2 { account?: TermsOfService.Account; /** - * Details on the Account's acceptance of Crypto-storer-specific terms of service. + * Details on the Account's acceptance of Crypto-specific terms of service. */ - crypto_storer?: TermsOfService.CryptoStorer; + crypto_money_manager?: TermsOfService.CryptoMoneyManager; /** * Details on the Account's acceptance of Treasury-specific terms of service. */ - storer?: TermsOfService.Storer; + money_manager?: TermsOfService.MoneyManager; } export namespace PersonsProvided { @@ -11362,7 +12154,7 @@ export namespace V2 { user_agent?: string; } - export interface CryptoStorer { + export interface CryptoMoneyManager { /** * 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. */ @@ -11379,7 +12171,7 @@ export namespace V2 { user_agent?: string; } - export interface Storer { + export interface MoneyManager { /** * 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. */ @@ -12262,7 +13054,7 @@ export namespace V2 { | 'customer' | 'merchant' | 'recipient' - | 'storer'; + | 'money_manager'; } } } @@ -12280,7 +13072,7 @@ export namespace V2 { | 'customer' | 'merchant' | 'recipient' - | 'storer'; + | 'money_manager'; } } } diff --git a/src/resources/V2/Core/BatchJobs.ts b/src/resources/V2/Core/BatchJobs.ts index f99f2c0ba5..60bfa0b622 100644 --- a/src/resources/V2/Core/BatchJobs.ts +++ b/src/resources/V2/Core/BatchJobs.ts @@ -266,11 +266,6 @@ export interface BatchJob { */ livemode: boolean; - /** - * The maximum requests per second defined for the `batch_job`. - */ - maximum_rps: number; - /** * The metadata of the `batch_job`. */ @@ -604,21 +599,15 @@ export namespace V2 { */ endpoint: BatchJobCreateParams.Endpoint; - /** - * The metadata of the `batch_job`. - */ - metadata: MetadataParam; - /** * Allows the user to skip validation. */ skip_validation: boolean; /** - * Optional field that allows the user to control how fast they want this batch job to run. - * Gives them a control over the number of webhooks they receive. + * The metadata of the `batch_job`. */ - maximum_rps?: number; + metadata?: MetadataParam; /** * Notification suppression settings for the batch job. diff --git a/src/resources/V2/Core/Events.ts b/src/resources/V2/Core/Events.ts index 32d835e989..f7b18a39cf 100644 --- a/src/resources/V2/Core/Events.ts +++ b/src/resources/V2/Core/Events.ts @@ -193,10 +193,10 @@ export type Event = | V2CoreAccountIncludingConfigurationCustomerUpdatedEvent | V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationMerchantUpdatedEvent + | V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent + | V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent | V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent | V2CoreAccountIncludingConfigurationRecipientUpdatedEvent - | V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent - | V2CoreAccountIncludingConfigurationStorerUpdatedEvent | V2CoreAccountIncludingDefaultsUpdatedEvent | V2CoreAccountIncludingFutureRequirementsUpdatedEvent | V2CoreAccountIncludingIdentityUpdatedEvent @@ -240,12 +240,14 @@ export type Event = | V2MoneyManagementOutboundPaymentFailedEvent | V2MoneyManagementOutboundPaymentPostedEvent | V2MoneyManagementOutboundPaymentReturnedEvent + | V2MoneyManagementOutboundPaymentUnderReviewEvent | V2MoneyManagementOutboundPaymentUpdatedEvent | V2MoneyManagementOutboundTransferCanceledEvent | V2MoneyManagementOutboundTransferCreatedEvent | V2MoneyManagementOutboundTransferFailedEvent | V2MoneyManagementOutboundTransferPostedEvent | V2MoneyManagementOutboundTransferReturnedEvent + | V2MoneyManagementOutboundTransferUnderReviewEvent | V2MoneyManagementOutboundTransferUpdatedEvent | V2MoneyManagementPayoutMethodCreatedEvent | V2MoneyManagementPayoutMethodUpdatedEvent @@ -279,10 +281,10 @@ export type EventNotification = | V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification | V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification + | V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEventNotification + | V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEventNotification | V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification | V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification - | V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification - | V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification | V2CoreAccountIncludingDefaultsUpdatedEventNotification | V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification | V2CoreAccountIncludingIdentityUpdatedEventNotification @@ -326,12 +328,14 @@ export type EventNotification = | V2MoneyManagementOutboundPaymentFailedEventNotification | V2MoneyManagementOutboundPaymentPostedEventNotification | V2MoneyManagementOutboundPaymentReturnedEventNotification + | V2MoneyManagementOutboundPaymentUnderReviewEventNotification | V2MoneyManagementOutboundPaymentUpdatedEventNotification | V2MoneyManagementOutboundTransferCanceledEventNotification | V2MoneyManagementOutboundTransferCreatedEventNotification | V2MoneyManagementOutboundTransferFailedEventNotification | V2MoneyManagementOutboundTransferPostedEventNotification | V2MoneyManagementOutboundTransferReturnedEventNotification + | V2MoneyManagementOutboundTransferUnderReviewEventNotification | V2MoneyManagementOutboundTransferUpdatedEventNotification | V2MoneyManagementPayoutMethodCreatedEventNotification | V2MoneyManagementPayoutMethodUpdatedEventNotification @@ -889,6 +893,7 @@ export namespace V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpda | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' + | 'sunbit_payments' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' @@ -920,31 +925,31 @@ export interface V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotifica } /** - * Occurs when the status of an Account's recipient configuration capability is updated. + * Occurs when the status of an Account's money manager configuration capability is updated. */ -export interface V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent +export interface V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent extends EventBase { - type: 'v2.core.account[configuration.recipient].capability_status_updated'; + type: 'v2.core.account[configuration.money_manager].capability_status_updated'; // Retrieves data specific to this event. - data: V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data; + data: V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent.Data; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; } -export interface V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification +export interface V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEventNotification extends EventNotificationBase { - type: 'v2.core.account[configuration.recipient].capability_status_updated'; + type: 'v2.core.account[configuration.money_manager].capability_status_updated'; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; fetchEvent(): Promise< - V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent + V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent >; } -export namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent { +export namespace V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent { export interface Data { /** * Open Enum. The capability which had its status updated. @@ -954,64 +959,77 @@ export namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpd export namespace Data { export type UpdatedCapability = - | 'bank_accounts.local' - | 'bank_accounts.wire' - | 'cards' - | 'stripe_balance.payouts' - | 'stripe_balance.stripe_transfers' - | 'stripe.transfers'; + | 'business_storage.inbound.eur' + | 'business_storage.inbound.gbp' + | 'business_storage.inbound.usd' + | 'business_storage.inbound.usdc' + | 'business_storage.outbound.eur' + | 'business_storage.outbound.gbp' + | 'business_storage.outbound.usd' + | 'business_storage.outbound.usdc' + | 'inbound_transfers.bank_accounts' + | 'outbound_payments.bank_accounts' + | 'outbound_payments.cards' + | 'outbound_payments.crypto_wallets' + | 'outbound_payments.financial_accounts' + | 'outbound_transfers.bank_accounts' + | 'outbound_transfers.crypto_wallets' + | 'outbound_transfers.financial_accounts' + | 'received_credits.bank_accounts' + | 'received_credits.crypto_wallets' + | 'received_debits.bank_accounts'; } } /** - * Occurs when a Recipient's configuration is updated. + * Occurs when a MoneyManager's configuration is updated. */ -export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEvent +export interface V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent extends EventBase { - type: 'v2.core.account[configuration.recipient].updated'; + type: 'v2.core.account[configuration.money_manager].updated'; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; } -export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification +export interface V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEventNotification extends EventNotificationBase { - type: 'v2.core.account[configuration.recipient].updated'; + type: 'v2.core.account[configuration.money_manager].updated'; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; fetchEvent(): Promise< - V2CoreAccountIncludingConfigurationRecipientUpdatedEvent + V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent >; } /** - * Occurs when the status of an Account's storer configuration capability is updated. + * Occurs when the status of an Account's recipient configuration capability is updated. */ -export interface V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent +export interface V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent extends EventBase { - type: 'v2.core.account[configuration.storer].capability_status_updated'; + type: 'v2.core.account[configuration.recipient].capability_status_updated'; // Retrieves data specific to this event. - data: V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.Data; + data: V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; } -export interface V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification +export interface V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification extends EventNotificationBase { - type: 'v2.core.account[configuration.storer].capability_status_updated'; + type: 'v2.core.account[configuration.recipient].capability_status_updated'; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; fetchEvent(): Promise< - V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent + V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent >; } -export namespace V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent { +export namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent { export interface Data { /** * Open Enum. The capability which had its status updated. @@ -1021,42 +1039,36 @@ export namespace V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdate export namespace Data { export type UpdatedCapability = - | 'financial_addressses.bank_accounts' - | 'financial_addressses.crypto_wallets' - | 'holds_currencies.eur' - | 'holds_currencies.gbp' - | 'holds_currencies.usd' - | 'holds_currencies.usdc' - | 'inbound_transfers.bank_accounts' - | 'outbound_payments.bank_accounts' - | 'outbound_payments.cards' - | 'outbound_payments.crypto_wallets' - | 'outbound_payments.financial_accounts' - | 'outbound_transfers.bank_accounts' - | 'outbound_transfers.crypto_wallets' - | 'outbound_transfers.financial_accounts'; + | 'bank_accounts.local' + | 'bank_accounts.wire' + | 'cards' + | 'stripe_balance.payouts' + | 'stripe_balance.stripe_transfers' + | 'stripe.transfers'; } } /** - * Occurs when a Storer's configuration is updated. + * Occurs when a Recipient's configuration is updated. */ -export interface V2CoreAccountIncludingConfigurationStorerUpdatedEvent +export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEvent extends EventBase { - type: 'v2.core.account[configuration.storer].updated'; + type: 'v2.core.account[configuration.recipient].updated'; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; } -export interface V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification +export interface V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification extends EventNotificationBase { - type: 'v2.core.account[configuration.storer].updated'; + type: 'v2.core.account[configuration.recipient].updated'; // Object containing the reference to API resource relevant to the event. related_object: V2.Core.Events.RelatedObject; // Retrieves the object associated with the event. fetchRelatedObject(): Promise; - fetchEvent(): Promise; + fetchEvent(): Promise< + V2CoreAccountIncludingConfigurationRecipientUpdatedEvent + >; } /** @@ -1177,6 +1189,7 @@ export namespace V2CoreAccountLinkReturnedEvent { export type Configuration = | 'customer' | 'merchant' + | 'money_manager' | 'recipient' | 'storer'; @@ -2092,6 +2105,27 @@ export interface V2MoneyManagementOutboundPaymentReturnedEventNotification fetchEvent(): Promise; } +/** + * Occurs when an OutboundPayment is placed under review. + */ +export interface V2MoneyManagementOutboundPaymentUnderReviewEvent + extends EventBase { + type: 'v2.money_management.outbound_payment.under_review'; + // Object containing the reference to API resource relevant to the event. + related_object: V2.Core.Events.RelatedObject; + // Retrieves the object associated with the event. + fetchRelatedObject(): Promise; +} +export interface V2MoneyManagementOutboundPaymentUnderReviewEventNotification + extends EventNotificationBase { + type: 'v2.money_management.outbound_payment.under_review'; + // Object containing the reference to API resource relevant to the event. + related_object: V2.Core.Events.RelatedObject; + // Retrieves the object associated with the event. + fetchRelatedObject(): Promise; + fetchEvent(): Promise; +} + /** * Occurs when an OutboundPayment is updated. */ @@ -2218,6 +2252,27 @@ export interface V2MoneyManagementOutboundTransferReturnedEventNotification fetchEvent(): Promise; } +/** + * Occurs when an OutboundTransfer is placed under review. + */ +export interface V2MoneyManagementOutboundTransferUnderReviewEvent + extends EventBase { + type: 'v2.money_management.outbound_transfer.under_review'; + // Object containing the reference to API resource relevant to the event. + related_object: V2.Core.Events.RelatedObject; + // Retrieves the object associated with the event. + fetchRelatedObject(): Promise; +} +export interface V2MoneyManagementOutboundTransferUnderReviewEventNotification + extends EventNotificationBase { + type: 'v2.money_management.outbound_transfer.under_review'; + // Object containing the reference to API resource relevant to the event. + related_object: V2.Core.Events.RelatedObject; + // Retrieves the object associated with the event. + fetchRelatedObject(): Promise; + fetchEvent(): Promise; +} + /** * Event that is emitted every time an Outbound Transfer is updated. */ @@ -2821,10 +2876,10 @@ export declare namespace Events { V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, + V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent, + V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, - V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent, - V2CoreAccountIncludingConfigurationStorerUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, @@ -2868,12 +2923,14 @@ export declare namespace Events { V2MoneyManagementOutboundPaymentFailedEvent, V2MoneyManagementOutboundPaymentPostedEvent, V2MoneyManagementOutboundPaymentReturnedEvent, + V2MoneyManagementOutboundPaymentUnderReviewEvent, V2MoneyManagementOutboundPaymentUpdatedEvent, V2MoneyManagementOutboundTransferCanceledEvent, V2MoneyManagementOutboundTransferCreatedEvent, V2MoneyManagementOutboundTransferFailedEvent, V2MoneyManagementOutboundTransferPostedEvent, V2MoneyManagementOutboundTransferReturnedEvent, + V2MoneyManagementOutboundTransferUnderReviewEvent, V2MoneyManagementOutboundTransferUpdatedEvent, V2MoneyManagementPayoutMethodCreatedEvent, V2MoneyManagementPayoutMethodUpdatedEvent, @@ -2905,10 +2962,10 @@ export declare namespace Events { V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification, + V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEventNotification, + V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEventNotification, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification, V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification, - V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventNotification, - V2CoreAccountIncludingConfigurationStorerUpdatedEventNotification, V2CoreAccountIncludingDefaultsUpdatedEventNotification, V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification, V2CoreAccountIncludingIdentityUpdatedEventNotification, @@ -2952,12 +3009,14 @@ export declare namespace Events { V2MoneyManagementOutboundPaymentFailedEventNotification, V2MoneyManagementOutboundPaymentPostedEventNotification, V2MoneyManagementOutboundPaymentReturnedEventNotification, + V2MoneyManagementOutboundPaymentUnderReviewEventNotification, V2MoneyManagementOutboundPaymentUpdatedEventNotification, V2MoneyManagementOutboundTransferCanceledEventNotification, V2MoneyManagementOutboundTransferCreatedEventNotification, V2MoneyManagementOutboundTransferFailedEventNotification, V2MoneyManagementOutboundTransferPostedEventNotification, V2MoneyManagementOutboundTransferReturnedEventNotification, + V2MoneyManagementOutboundTransferUnderReviewEventNotification, V2MoneyManagementOutboundTransferUpdatedEventNotification, V2MoneyManagementPayoutMethodCreatedEventNotification, V2MoneyManagementPayoutMethodUpdatedEventNotification, diff --git a/src/resources/V2/Core/Vault/UsBankAccounts.ts b/src/resources/V2/Core/Vault/UsBankAccounts.ts index 4445a12830..9ee5886e96 100644 --- a/src/resources/V2/Core/Vault/UsBankAccounts.ts +++ b/src/resources/V2/Core/Vault/UsBankAccounts.ts @@ -75,6 +75,7 @@ export class UsBankAccountResource extends StripeResource { * Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe. * Archived USBankAccount objects cannot be used as outbound destinations * and will not appear in the outbound destination list. + * @throws Stripe.CannotProceedError * @throws Stripe.ControlledByDashboardError */ archive( diff --git a/src/resources/V2/MoneyManagement/FinancialAccounts.ts b/src/resources/V2/MoneyManagement/FinancialAccounts.ts index b453e97f18..cd2b1950c5 100644 --- a/src/resources/V2/MoneyManagement/FinancialAccounts.ts +++ b/src/resources/V2/MoneyManagement/FinancialAccounts.ts @@ -295,9 +295,9 @@ export namespace V2 { limit?: number; /** - * The status of the FinancialAccount to filter by. By default, closed FinancialAccounts are not returned. + * Filter for FinancialAccount `status`. By default, closed FinancialAccounts are not returned. */ - status?: FinancialAccountListParams.Status; + statuses?: Array; } export namespace FinancialAccountListParams { diff --git a/src/resources/V2/MoneyManagement/FinancialAddresses.ts b/src/resources/V2/MoneyManagement/FinancialAddresses.ts index 8c0a9aec77..d2e402e081 100644 --- a/src/resources/V2/MoneyManagement/FinancialAddresses.ts +++ b/src/resources/V2/MoneyManagement/FinancialAddresses.ts @@ -207,6 +207,11 @@ export namespace FinancialAddress { */ bank_name?: string; + /** + * The BIC of the bank or financial institution. + */ + bic?: 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. @@ -217,11 +222,6 @@ export namespace FinancialAddress { * The routing number of the US Bank Account. */ routing_number: string; - - /** - * The swift code of the bank or financial institution. - */ - swift_code?: string; } } } diff --git a/src/resources/V2/MoneyManagement/OutboundPayments.ts b/src/resources/V2/MoneyManagement/OutboundPayments.ts index e9a843f5f4..d4488682c4 100644 --- a/src/resources/V2/MoneyManagement/OutboundPayments.ts +++ b/src/resources/V2/MoneyManagement/OutboundPayments.ts @@ -166,7 +166,7 @@ export interface OutboundPayment { status: OutboundPayment.Status; /** - * Status details for an OutboundPayment in a `failed` or `returned` state. + * Status details for an OutboundPayment in a `processing`, `failed`, or `returned` state. */ status_details?: OutboundPayment.StatusDetails; @@ -226,6 +226,11 @@ export namespace OutboundPayment { */ failed?: StatusDetails.Failed; + /** + * The `processing` status details. + */ + processing?: StatusDetails.Processing; + /** * The `returned` status reason. */ @@ -306,6 +311,13 @@ export namespace OutboundPayment { reason: Failed.Reason; } + export interface Processing { + /** + * Open Enum. The `processing` status reason. + */ + reason: 'under_review'; + } + export interface Returned { /** * Open Enum. The `returned` status reason. @@ -315,11 +327,14 @@ export namespace OutboundPayment { export namespace Failed { export type Reason = + | 'fx_rate_drift_exceeded_after_review' + | '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' + | 'review_rejected' | 'unknown_failure'; } diff --git a/src/resources/V2/MoneyManagement/OutboundTransfers.ts b/src/resources/V2/MoneyManagement/OutboundTransfers.ts index 9de29ef78f..abf33ce6d1 100644 --- a/src/resources/V2/MoneyManagement/OutboundTransfers.ts +++ b/src/resources/V2/MoneyManagement/OutboundTransfers.ts @@ -151,7 +151,7 @@ export interface OutboundTransfer { status: OutboundTransfer.Status; /** - * Status details for an OutboundTransfer in a `failed` or `returned` state. + * Status details for an OutboundTransfer in a `processing`, `failed`, or `returned` state. */ status_details?: OutboundTransfer.StatusDetails; @@ -203,6 +203,11 @@ export namespace OutboundTransfer { */ failed?: StatusDetails.Failed; + /** + * The `processing` status details. + */ + processing?: StatusDetails.Processing; + /** * The `returned` status reason. */ @@ -274,6 +279,13 @@ export namespace OutboundTransfer { reason: Failed.Reason; } + export interface Processing { + /** + * Open Enum. The `processing` status reason. + */ + reason: 'under_review'; + } + export interface Returned { /** * Open Enum. The `returned` status reason. @@ -283,12 +295,14 @@ export namespace OutboundTransfer { export namespace Failed { export type Reason = + | 'fx_rate_drift_exceeded_after_review' | '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' + | 'review_rejected' | 'unknown_failure'; } diff --git a/src/resources/V2/MoneyManagement/ReceivedCredits.ts b/src/resources/V2/MoneyManagement/ReceivedCredits.ts index 69a8cdebc6..5315c6fa4a 100644 --- a/src/resources/V2/MoneyManagement/ReceivedCredits.ts +++ b/src/resources/V2/MoneyManagement/ReceivedCredits.ts @@ -285,6 +285,11 @@ export namespace ReceivedCredit { } export interface UsBankAccount { + /** + * The name of the account holder that sent the payment. + */ + account_holder_name?: string; + /** * The bank name the transfer was received from. */ diff --git a/src/resources/V2/MoneyManagement/ReceivedDebits.ts b/src/resources/V2/MoneyManagement/ReceivedDebits.ts index 6ca5494553..6c86d2487e 100644 --- a/src/resources/V2/MoneyManagement/ReceivedDebits.ts +++ b/src/resources/V2/MoneyManagement/ReceivedDebits.ts @@ -194,6 +194,7 @@ export namespace ReceivedDebit { export namespace Failed { export type Reason = + | 'capability_inactive' | 'financial_address_inactive' | 'insufficient_funds' | 'stripe_rejected'; diff --git a/src/resources/WebhookEndpoints.ts b/src/resources/WebhookEndpoints.ts index 067acb930f..964c4f2cc2 100644 --- a/src/resources/WebhookEndpoints.ts +++ b/src/resources/WebhookEndpoints.ts @@ -216,7 +216,13 @@ export namespace WebhookEndpointCreateParams { | 'balance.available' | 'balance_settings.updated' | 'billing.alert.triggered' + | 'billing.credit_balance_transaction.created' | 'billing.credit_grant.created' + | 'billing.credit_grant.updated' + | 'billing.meter.created' + | 'billing.meter.deactivated' + | 'billing.meter.reactivated' + | 'billing.meter.updated' | 'billing_portal.configuration.created' | 'billing_portal.configuration.updated' | 'billing_portal.session.created' @@ -494,14 +500,7 @@ export namespace WebhookEndpointCreateParams { | 'treasury.received_credit.created' | 'treasury.received_credit.failed' | 'treasury.received_credit.succeeded' - | 'treasury.received_debit.created' - | 'invoice_payment.detached' - | 'billing.credit_balance_transaction.created' - | 'billing.credit_grant.updated' - | 'billing.meter.created' - | 'billing.meter.deactivated' - | 'billing.meter.reactivated' - | 'billing.meter.updated'; + | 'treasury.received_debit.created'; export type ApiVersion = | '2011-01-01' @@ -627,7 +626,8 @@ export namespace WebhookEndpointCreateParams { | '2026-02-25.clover' | '2026-03-25.dahlia' | '2026-04-22.dahlia' - | '2026-05-27.dahlia'; + | '2026-05-27.dahlia' + | '2026-06-24.dahlia'; } export interface WebhookEndpointRetrieveParams { /** @@ -683,7 +683,13 @@ export namespace WebhookEndpointUpdateParams { | 'balance.available' | 'balance_settings.updated' | 'billing.alert.triggered' + | 'billing.credit_balance_transaction.created' | 'billing.credit_grant.created' + | 'billing.credit_grant.updated' + | 'billing.meter.created' + | 'billing.meter.deactivated' + | 'billing.meter.reactivated' + | 'billing.meter.updated' | 'billing_portal.configuration.created' | 'billing_portal.configuration.updated' | 'billing_portal.session.created' @@ -961,14 +967,7 @@ export namespace WebhookEndpointUpdateParams { | 'treasury.received_credit.created' | 'treasury.received_credit.failed' | 'treasury.received_credit.succeeded' - | 'treasury.received_debit.created' - | 'invoice_payment.detached' - | 'billing.credit_balance_transaction.created' - | 'billing.credit_grant.updated' - | 'billing.meter.created' - | 'billing.meter.deactivated' - | 'billing.meter.reactivated' - | 'billing.meter.updated'; + | 'treasury.received_debit.created'; } export interface WebhookEndpointListParams extends PaginationParams { /** diff --git a/src/stripe.cjs.node.ts b/src/stripe.cjs.node.ts index b051f036d6..5211a2dd0f 100644 --- a/src/stripe.cjs.node.ts +++ b/src/stripe.cjs.node.ts @@ -1967,6 +1967,7 @@ declare namespace StripeConstructor { export type PaymentMethodDetails = Stripe_.Charge.PaymentMethodDetails; export type PresentmentDetails = Stripe_.Charge.PresentmentDetails; export type RadarOptions = Stripe_.Charge.RadarOptions; + export type Redaction = Stripe_.Charge.Redaction; export type Shipping = Stripe_.Charge.Shipping; export type Status = Stripe_.Charge.Status; export type TransferData = Stripe_.Charge.TransferData; @@ -2196,6 +2197,9 @@ declare namespace StripeConstructor { export type AccountType = Stripe_.Charge.PaymentMethodDetails.UsBankAccount.AccountType; } } + export namespace Redaction { + export type Status = Stripe_.Charge.Redaction.Status; + } } export namespace ConfirmationToken { export type MandateData = Stripe_.ConfirmationToken.MandateData; @@ -2566,6 +2570,7 @@ declare namespace StripeConstructor { } export namespace Customer { export type InvoiceSettings = Stripe_.Customer.InvoiceSettings; + export type Redaction = Stripe_.Customer.Redaction; export type Shipping = Stripe_.Customer.Shipping; export type Tax = Stripe_.Customer.Tax; export type TaxExempt = Stripe_.Customer.TaxExempt; @@ -2573,6 +2578,9 @@ declare namespace StripeConstructor { export type CustomField = Stripe_.Customer.InvoiceSettings.CustomField; export type RenderingOptions = Stripe_.Customer.InvoiceSettings.RenderingOptions; } + export namespace Redaction { + export type Status = Stripe_.Customer.Redaction.Status; + } export namespace Tax { export type AutomaticTax = Stripe_.Customer.Tax.AutomaticTax; export type Location = Stripe_.Customer.Tax.Location; @@ -2678,6 +2686,7 @@ declare namespace StripeConstructor { export namespace Evidence { export type EnhancedEvidence = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence; export namespace EnhancedEvidence { + export type MastercardCompliance = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.MastercardCompliance; export type VisaCompellingEvidence3 = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompellingEvidence3; export type VisaCompliance = Stripe_.DisputeUpdateParams.Evidence.EnhancedEvidence.VisaCompliance; export namespace VisaCompellingEvidence3 { @@ -2701,6 +2710,7 @@ declare namespace StripeConstructor { export namespace Evidence { export type EnhancedEvidence = Stripe_.Dispute.Evidence.EnhancedEvidence; export namespace EnhancedEvidence { + export type MastercardCompliance = Stripe_.Dispute.Evidence.EnhancedEvidence.MastercardCompliance; export type VisaCompellingEvidence3 = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompellingEvidence3; export type VisaCompliance = Stripe_.Dispute.Evidence.EnhancedEvidence.VisaCompliance; export namespace VisaCompellingEvidence3 { @@ -2716,8 +2726,12 @@ declare namespace StripeConstructor { export type EnhancedEligibility = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility; export type SubmissionMethod = Stripe_.Dispute.EvidenceDetails.SubmissionMethod; export namespace EnhancedEligibility { + export type MastercardCompliance = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.MastercardCompliance; export type VisaCompellingEvidence3 = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3; export type VisaCompliance = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompliance; + export namespace MastercardCompliance { + export type Status = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.MastercardCompliance.Status; + } export namespace VisaCompellingEvidence3 { export type RequiredAction = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.RequiredAction; export type Status = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.Status; @@ -3409,6 +3423,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 Pause = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause; export type Prebilling = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Prebilling; export type ProrationBehavior = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.ProrationBehavior; export namespace BillingMode { @@ -3452,6 +3467,20 @@ declare namespace StripeConstructor { } } } + export namespace Pause { + export type BillFor = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.BillFor; + export type InvoicingBehavior = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.InvoicingBehavior; + export namespace BillFor { + export type OutstandingUsageThrough = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.BillFor.OutstandingUsageThrough; + export type UnusedTimeFrom = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.BillFor.UnusedTimeFrom; + export namespace OutstandingUsageThrough { + export type Type = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.BillFor.OutstandingUsageThrough.Type; + } + export namespace UnusedTimeFrom { + export type Type = Stripe_.InvoiceCreatePreviewParams.SubscriptionDetails.Pause.BillFor.UnusedTimeFrom.Type; + } + } + } } } export namespace InvoiceRemoveLinesParams { @@ -4540,7 +4569,6 @@ declare namespace StripeConstructor { 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 { @@ -5030,6 +5058,7 @@ declare namespace StripeConstructor { export type Shopeepay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.StripeBalance; + export type Sunbit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sunbit; export type Swish = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Swish; export type Twint = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Twint; export type Upi = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Upi; @@ -5283,6 +5312,9 @@ declare namespace StripeConstructor { export namespace RevolutPay { export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } + export namespace Satispay { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Satispay.SetupFutureUsage; + } export namespace SepaDebit { export type MandateOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.MandateOptions; export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; @@ -5705,6 +5737,7 @@ declare namespace StripeConstructor { export type Shopeepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.StripeBalance; + export type Sunbit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sunbit; export type Swish = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Swish; export type Twint = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Twint; export type Upi = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Upi; @@ -5958,6 +5991,9 @@ declare namespace StripeConstructor { export namespace RevolutPay { export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } + export namespace Satispay { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Satispay.SetupFutureUsage; + } export namespace SepaDebit { export type MandateOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.MandateOptions; export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; @@ -6582,6 +6618,7 @@ declare namespace StripeConstructor { export type Shopeepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.StripeBalance; + export type Sunbit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sunbit; export type Swish = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Swish; export type Twint = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Twint; export type Upi = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Upi; @@ -6835,6 +6872,9 @@ declare namespace StripeConstructor { export namespace RevolutPay { export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } + export namespace Satispay { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Satispay.SetupFutureUsage; + } export namespace SepaDebit { export type MandateOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.MandateOptions; export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit.SetupFutureUsage; @@ -6983,6 +7023,7 @@ declare namespace StripeConstructor { export type PaymentMethodOptions = Stripe_.PaymentIntent.PaymentMethodOptions; export type PresentmentDetails = Stripe_.PaymentIntent.PresentmentDetails; export type Processing = Stripe_.PaymentIntent.Processing; + export type Redaction = Stripe_.PaymentIntent.Redaction; export type SecretKeyConfirmation = Stripe_.PaymentIntent.SecretKeyConfirmation; export type SetupFutureUsage = Stripe_.PaymentIntent.SetupFutureUsage; export type Shipping = Stripe_.PaymentIntent.Shipping; @@ -7261,6 +7302,7 @@ declare namespace StripeConstructor { export type Shopeepay = Stripe_.PaymentIntent.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntent.PaymentMethodOptions.StripeBalance; + export type Sunbit = Stripe_.PaymentIntent.PaymentMethodOptions.Sunbit; export type Swish = Stripe_.PaymentIntent.PaymentMethodOptions.Swish; export type Twint = Stripe_.PaymentIntent.PaymentMethodOptions.Twint; export type Upi = Stripe_.PaymentIntent.PaymentMethodOptions.Upi; @@ -7405,6 +7447,9 @@ declare namespace StripeConstructor { export namespace RevolutPay { export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.RevolutPay.SetupFutureUsage; } + export namespace Satispay { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Satispay.SetupFutureUsage; + } export namespace SepaDebit { export type MandateOptions = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions; export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit.SetupFutureUsage; @@ -7451,6 +7496,9 @@ declare namespace StripeConstructor { export type CustomerNotification = Stripe_.PaymentIntent.Processing.Card.CustomerNotification; } } + export namespace Redaction { + export type Status = Stripe_.PaymentIntent.Redaction.Status; + } export namespace TransferData { export type PaymentData = Stripe_.PaymentIntent.TransferData.PaymentData; } @@ -8000,6 +8048,7 @@ declare namespace StripeConstructor { export type Qris = Stripe_.PaymentMethod.Qris; export type RadarOptions = Stripe_.PaymentMethod.RadarOptions; export type Rechnung = Stripe_.PaymentMethod.Rechnung; + export type Redaction = Stripe_.PaymentMethod.Redaction; export type RevolutPay = Stripe_.PaymentMethod.RevolutPay; export type SamsungPay = Stripe_.PaymentMethod.SamsungPay; export type Satispay = Stripe_.PaymentMethod.Satispay; @@ -8097,6 +8146,9 @@ declare namespace StripeConstructor { export namespace Rechnung { export type Dob = Stripe_.PaymentMethod.Rechnung.Dob; } + export namespace Redaction { + export type Status = Stripe_.PaymentMethod.Redaction.Status; + } export namespace SepaDebit { export type GeneratedFrom = Stripe_.PaymentMethod.SepaDebit.GeneratedFrom; } @@ -9604,8 +9656,8 @@ declare namespace StripeConstructor { } export namespace PaymentRecordReportRefundParams { export type ProcessorDetails = Stripe_.PaymentRecordReportRefundParams.ProcessorDetails; - export type Refunded = Stripe_.PaymentRecordReportRefundParams.Refunded; export type Amount = Stripe_.PaymentRecordReportRefundParams.Amount; + export type Refunded = Stripe_.PaymentRecordReportRefundParams.Refunded; export namespace ProcessorDetails { export type Custom = Stripe_.PaymentRecordReportRefundParams.ProcessorDetails.Custom; } @@ -9717,7 +9769,6 @@ declare namespace StripeConstructor { 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 { @@ -10623,6 +10674,7 @@ declare namespace StripeConstructor { export type Payto = Stripe_.SetupAttempt.PaymentMethodDetails.Payto; export type Pix = Stripe_.SetupAttempt.PaymentMethodDetails.Pix; export type RevolutPay = Stripe_.SetupAttempt.PaymentMethodDetails.RevolutPay; + export type Satispay = Stripe_.SetupAttempt.PaymentMethodDetails.Satispay; export type SepaDebit = Stripe_.SetupAttempt.PaymentMethodDetails.SepaDebit; export type Sofort = Stripe_.SetupAttempt.PaymentMethodDetails.Sofort; export type StripeBalance = Stripe_.SetupAttempt.PaymentMethodDetails.StripeBalance; @@ -11366,6 +11418,7 @@ declare namespace StripeConstructor { export type NextAction = Stripe_.SetupIntent.NextAction; export type PaymentMethodConfigurationDetails = Stripe_.SetupIntent.PaymentMethodConfigurationDetails; export type PaymentMethodOptions = Stripe_.SetupIntent.PaymentMethodOptions; + export type Redaction = Stripe_.SetupIntent.Redaction; export type Status = Stripe_.SetupIntent.Status; export namespace AutomaticPaymentMethods { export type AllowRedirects = Stripe_.SetupIntent.AutomaticPaymentMethods.AllowRedirects; @@ -11472,6 +11525,9 @@ declare namespace StripeConstructor { } } } + export namespace Redaction { + export type Status = Stripe_.SetupIntent.Redaction.Status; + } } export namespace ShippingRateCreateParams { export type DeliveryEstimate = Stripe_.ShippingRateCreateParams.DeliveryEstimate; @@ -11598,6 +11654,7 @@ declare namespace StripeConstructor { export type P24 = Stripe_.Source.P24; export type Paypal = Stripe_.Source.Paypal; export type Receiver = Stripe_.Source.Receiver; + export type Redaction = Stripe_.Source.Redaction; export type Redirect = Stripe_.Source.Redirect; export type SepaCreditTransfer = Stripe_.Source.SepaCreditTransfer; export type SepaDebit = Stripe_.Source.SepaDebit; @@ -11606,6 +11663,9 @@ declare namespace StripeConstructor { export type ThreeDSecure = Stripe_.Source.ThreeDSecure; export type Type = Stripe_.Source.Type; export type Wechat = Stripe_.Source.Wechat; + export namespace Redaction { + export type Status = Stripe_.Source.Redaction.Status; + } export namespace SourceOrder { export type Item = Stripe_.Source.SourceOrder.Item; export type Shipping = Stripe_.Source.SourceOrder.Shipping; @@ -11693,6 +11753,7 @@ declare namespace StripeConstructor { } } export namespace InvoiceSettings { + export type CustomField = Stripe_.SubscriptionCreateParams.InvoiceSettings.CustomField; export type Issuer = Stripe_.SubscriptionCreateParams.InvoiceSettings.Issuer; export namespace Issuer { export type Type = Stripe_.SubscriptionCreateParams.InvoiceSettings.Issuer.Type; @@ -11895,6 +11956,7 @@ declare namespace StripeConstructor { } } export namespace InvoiceSettings { + export type CustomField = Stripe_.SubscriptionUpdateParams.InvoiceSettings.CustomField; export type Issuer = Stripe_.SubscriptionUpdateParams.InvoiceSettings.Issuer; export namespace Issuer { export type Type = Stripe_.SubscriptionUpdateParams.InvoiceSettings.Issuer.Type; @@ -12106,6 +12168,7 @@ declare namespace StripeConstructor { export type Reason = Stripe_.Subscription.CancellationDetails.Reason; } export namespace InvoiceSettings { + export type CustomField = Stripe_.Subscription.InvoiceSettings.CustomField; export type Issuer = Stripe_.Subscription.InvoiceSettings.Issuer; export namespace Issuer { export type Type = Stripe_.Subscription.InvoiceSettings.Issuer.Type; @@ -12909,6 +12972,18 @@ declare namespace StripeConstructor { } } } + export namespace Token { + export type Redaction = Stripe_.Token.Redaction; + export namespace Redaction { + export type Status = Stripe_.Token.Redaction.Status; + } + } + export namespace TopupCreateParams { + export type PaymentMethodOptions = Stripe_.TopupCreateParams.PaymentMethodOptions; + export namespace PaymentMethodOptions { + export type UsBankAccount = Stripe_.TopupCreateParams.PaymentMethodOptions.UsBankAccount; + } + } export namespace TopupListParams { export type Status = Stripe_.TopupListParams.Status; } @@ -12946,7 +13021,11 @@ declare namespace StripeConstructor { export type AllowRedisplay = Stripe_.Card.AllowRedisplay; export type AvailablePayoutMethod = Stripe_.Card.AvailablePayoutMethod; export type Networks = Stripe_.Card.Networks; + export type Redaction = Stripe_.Card.Redaction; export type RegulatedStatus = Stripe_.Card.RegulatedStatus; + export namespace Redaction { + export type Status = Stripe_.Card.Redaction.Status; + } } export namespace DeletedDiscount { export type Source = Stripe_.DeletedDiscount.Source; @@ -13869,6 +13948,7 @@ declare namespace StripeConstructor { export type FinancingTransactionResource = Stripe_.Capital.FinancingTransactionResource; export namespace FinancingOffer { export type AcceptedTerms = Stripe_.Capital.FinancingOffer.AcceptedTerms; + export type DisclaimerVariant = Stripe_.Capital.FinancingOffer.DisclaimerVariant; export type FinancingType = Stripe_.Capital.FinancingOffer.FinancingType; export type OfferedTerms = Stripe_.Capital.FinancingOffer.OfferedTerms; export type ProductType = Stripe_.Capital.FinancingOffer.ProductType; @@ -13883,6 +13963,7 @@ declare namespace StripeConstructor { export type Status = Stripe_.Capital.FinancingSummary.Status; export namespace Details { export type CurrentRepaymentInterval = Stripe_.Capital.FinancingSummary.Details.CurrentRepaymentInterval; + export type DisclaimerVariant = Stripe_.Capital.FinancingSummary.Details.DisclaimerVariant; } } export namespace FinancingTransaction { @@ -14087,6 +14168,7 @@ declare namespace StripeConstructor { 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 Sunbit = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Sunbit; export type Swish = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Swish; export type Twint = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Twint; export type Upi = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Upi; @@ -14260,6 +14342,7 @@ declare namespace StripeConstructor { } } export namespace SubscriptionData { + export type BillingCycleAnchorConfig = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingCycleAnchorConfig; export type BillingMode = Stripe_.Checkout.SessionCreateParams.SubscriptionData.BillingMode; export type InvoiceSettings = Stripe_.Checkout.SessionCreateParams.SubscriptionData.InvoiceSettings; export type PendingInvoiceItemInterval = Stripe_.Checkout.SessionCreateParams.SubscriptionData.PendingInvoiceItemInterval; @@ -14328,6 +14411,7 @@ declare namespace StripeConstructor { export type Permissions = Stripe_.Checkout.Session.Permissions; export type PhoneNumberCollection = Stripe_.Checkout.Session.PhoneNumberCollection; export type PresentmentDetails = Stripe_.Checkout.Session.PresentmentDetails; + export type Redaction = Stripe_.Checkout.Session.Redaction; export type RedirectOnCompletion = Stripe_.Checkout.Session.RedirectOnCompletion; export type SavedPaymentMethodOptions = Stripe_.Checkout.Session.SavedPaymentMethodOptions; export type ShippingAddressCollection = Stripe_.Checkout.Session.ShippingAddressCollection; @@ -14460,10 +14544,12 @@ declare namespace StripeConstructor { 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 Sunbit = Stripe_.Checkout.Session.PaymentMethodOptions.Sunbit; 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 WechatPay = Stripe_.Checkout.Session.PaymentMethodOptions.WechatPay; export namespace AcssDebit { export type Currency = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.Currency; export type MandateOptions = Stripe_.Checkout.Session.PaymentMethodOptions.AcssDebit.MandateOptions; @@ -14581,6 +14667,9 @@ declare namespace StripeConstructor { } } } + export namespace WechatPay { + export type Client = Stripe_.Checkout.Session.PaymentMethodOptions.WechatPay.Client; + } } export namespace Permissions { export type Update = Stripe_.Checkout.Session.Permissions.Update; @@ -14591,6 +14680,9 @@ declare namespace StripeConstructor { export type ShippingDetails = Stripe_.Checkout.Session.Permissions.Update.ShippingDetails; } } + export namespace Redaction { + export type Status = Stripe_.Checkout.Session.Redaction.Status; + } export namespace SavedPaymentMethodOptions { export type AllowRedisplayFilter = Stripe_.Checkout.Session.SavedPaymentMethodOptions.AllowRedisplayFilter; export type PaymentMethodRemove = Stripe_.Checkout.Session.SavedPaymentMethodOptions.PaymentMethodRemove; @@ -14741,7 +14833,12 @@ declare namespace StripeConstructor { export type Status = Stripe_.FinancialConnections.Account.OwnershipRefresh.Status; } export namespace StatusDetails { + export type Active = Stripe_.FinancialConnections.Account.StatusDetails.Active; export type Inactive = Stripe_.FinancialConnections.Account.StatusDetails.Inactive; + export namespace Active { + export type Action = Stripe_.FinancialConnections.Account.StatusDetails.Active.Action; + export type Cause = Stripe_.FinancialConnections.Account.StatusDetails.Active.Cause; + } export namespace Inactive { export type Action = Stripe_.FinancialConnections.Account.StatusDetails.Inactive.Action; export type Cause = Stripe_.FinancialConnections.Account.StatusDetails.Inactive.Cause; @@ -14759,7 +14856,11 @@ declare namespace StripeConstructor { export type Type = Stripe_.FinancialConnections.Authorization.AccountHolder.Type; } export namespace StatusDetails { + export type Active = Stripe_.FinancialConnections.Authorization.StatusDetails.Active; export type Inactive = Stripe_.FinancialConnections.Authorization.StatusDetails.Inactive; + export namespace Active { + export type Action = Stripe_.FinancialConnections.Authorization.StatusDetails.Active.Action; + } export namespace Inactive { export type Action = Stripe_.FinancialConnections.Authorization.StatusDetails.Inactive.Action; } @@ -15054,6 +15155,7 @@ declare namespace StripeConstructor { export type MerchantData = Stripe_.Issuing.Authorization.MerchantData; export type NetworkData = Stripe_.Issuing.Authorization.NetworkData; export type PendingRequest = Stripe_.Issuing.Authorization.PendingRequest; + export type Redaction = Stripe_.Issuing.Authorization.Redaction; export type RequestHistory = Stripe_.Issuing.Authorization.RequestHistory; export type Status = Stripe_.Issuing.Authorization.Status; export type Treasury = Stripe_.Issuing.Authorization.Treasury; @@ -15080,6 +15182,9 @@ declare namespace StripeConstructor { export namespace PendingRequest { export type AmountDetails = Stripe_.Issuing.Authorization.PendingRequest.AmountDetails; } + export namespace Redaction { + export type Status = Stripe_.Issuing.Authorization.Redaction.Status; + } export namespace RequestHistory { export type AmountDetails = Stripe_.Issuing.Authorization.RequestHistory.AmountDetails; export type Reason = Stripe_.Issuing.Authorization.RequestHistory.Reason; @@ -15137,6 +15242,7 @@ declare namespace StripeConstructor { export type CancellationReason = Stripe_.Issuing.Card.CancellationReason; export type LatestFraudWarning = Stripe_.Issuing.Card.LatestFraudWarning; export type LifecycleControls = Stripe_.Issuing.Card.LifecycleControls; + export type Redaction = Stripe_.Issuing.Card.Redaction; export type ReplacementReason = Stripe_.Issuing.Card.ReplacementReason; export type Shipping = Stripe_.Issuing.Card.Shipping; export type SpendingControls = Stripe_.Issuing.Card.SpendingControls; @@ -15149,6 +15255,9 @@ declare namespace StripeConstructor { export namespace LifecycleControls { export type CancelAfter = Stripe_.Issuing.Card.LifecycleControls.CancelAfter; } + export namespace Redaction { + export type Status = Stripe_.Issuing.Card.Redaction.Status; + } export namespace Shipping { export type AddressValidation = Stripe_.Issuing.Card.Shipping.AddressValidation; export type Carrier = Stripe_.Issuing.Card.Shipping.Carrier; @@ -15222,6 +15331,7 @@ declare namespace StripeConstructor { export type Company = Stripe_.Issuing.Cardholder.Company; export type Individual = Stripe_.Issuing.Cardholder.Individual; export type PreferredLocale = Stripe_.Issuing.Cardholder.PreferredLocale; + export type Redaction = Stripe_.Issuing.Cardholder.Redaction; export type Requirements = Stripe_.Issuing.Cardholder.Requirements; export type SpendingControls = Stripe_.Issuing.Cardholder.SpendingControls; export type Status = Stripe_.Issuing.Cardholder.Status; @@ -15237,6 +15347,9 @@ declare namespace StripeConstructor { export type Document = Stripe_.Issuing.Cardholder.Individual.Verification.Document; } } + export namespace Redaction { + export type Status = Stripe_.Issuing.Cardholder.Redaction.Status; + } export namespace Requirements { export type DisabledReason = Stripe_.Issuing.Cardholder.Requirements.DisabledReason; export type PastDue = Stripe_.Issuing.Cardholder.Requirements.PastDue; @@ -15314,6 +15427,7 @@ declare namespace StripeConstructor { export namespace Dispute { export type Evidence = Stripe_.Issuing.Dispute.Evidence; export type LossReason = Stripe_.Issuing.Dispute.LossReason; + export type Redaction = Stripe_.Issuing.Dispute.Redaction; export type Status = Stripe_.Issuing.Dispute.Status; export type Treasury = Stripe_.Issuing.Dispute.Treasury; export namespace Evidence { @@ -15340,6 +15454,9 @@ declare namespace StripeConstructor { export type ProductType = Stripe_.Issuing.Dispute.Evidence.Other.ProductType; } } + export namespace Redaction { + export type Status = Stripe_.Issuing.Dispute.Redaction.Status; + } } export namespace DisputeSettlementDetail { export type EventType = Stripe_.Issuing.DisputeSettlementDetail.EventType; @@ -15397,6 +15514,7 @@ declare namespace StripeConstructor { export type MerchantData = Stripe_.Issuing.Transaction.MerchantData; export type NetworkData = Stripe_.Issuing.Transaction.NetworkData; export type PurchaseDetails = Stripe_.Issuing.Transaction.PurchaseDetails; + export type Redaction = Stripe_.Issuing.Transaction.Redaction; export type Treasury = Stripe_.Issuing.Transaction.Treasury; export type Type = Stripe_.Issuing.Transaction.Type; export type Wallet = Stripe_.Issuing.Transaction.Wallet; @@ -15419,6 +15537,9 @@ declare namespace StripeConstructor { export type Segment = Stripe_.Issuing.Transaction.PurchaseDetails.Flight.Segment; } } + export namespace Redaction { + export type Status = Stripe_.Issuing.Transaction.Redaction.Status; + } } export namespace Settlement { export type Network = Stripe_.Issuing.Settlement.Network; @@ -15607,6 +15728,18 @@ declare namespace StripeConstructor { export namespace ValueList { export type ItemType = Stripe_.Radar.ValueList.ItemType; } + export namespace DeletedValueListItem { + export type Redaction = Stripe_.Radar.DeletedValueListItem.Redaction; + export namespace Redaction { + export type Status = Stripe_.Radar.DeletedValueListItem.Redaction.Status; + } + } + export namespace ValueListItem { + export type Redaction = Stripe_.Radar.ValueListItem.Redaction; + export namespace Redaction { + export type Status = Stripe_.Radar.ValueListItem.Redaction.Status; + } + } } export namespace Reporting { export type ReportRun = Stripe_.Reporting.ReportRun; @@ -15644,6 +15777,7 @@ declare namespace StripeConstructor { export namespace Hold { export type CreatedBy = Stripe_.Reserve.Hold.CreatedBy; export type Reason = Stripe_.Reserve.Hold.Reason; + export type ReleaseDetail = Stripe_.Reserve.Hold.ReleaseDetail; export type ReleaseSchedule = Stripe_.Reserve.Hold.ReleaseSchedule; export type SourceType = Stripe_.Reserve.Hold.SourceType; } @@ -18054,8 +18188,8 @@ declare namespace StripeConstructor { export namespace Configuration { export type Customer = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer; export type Merchant = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant; + export type MoneyManager = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager; export type Recipient = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient; - export type Storer = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer; export namespace Customer { export type AutomaticIndirectTax = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax; export type Billing = Stripe_.V2.Core.AccountCreateParams.Configuration.Customer.Billing; @@ -18130,6 +18264,7 @@ declare namespace StripeConstructor { 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 SunbitPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Capabilities.SunbitPayments; 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; @@ -18158,6 +18293,53 @@ declare namespace StripeConstructor { export type Address = Stripe_.V2.Core.AccountCreateParams.Configuration.Merchant.Support.Address; } } + export namespace MoneyManager { + export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities; + export namespace Capabilities { + export type BusinessStorage = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage; + export type InboundTransfers = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.InboundTransfers; + export type OutboundPayments = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundPayments; + export type OutboundTransfers = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundTransfers; + export type ReceivedCredits = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.ReceivedCredits; + export type ReceivedDebits = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.ReceivedDebits; + export namespace BusinessStorage { + export type Inbound = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound; + export type Outbound = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound; + export namespace Inbound { + export type Aud = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Aud; + export type Cad = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Cad; + export type Eur = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Eur; + export type Gbp = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Gbp; + export type Usd = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Usd; + } + export namespace Outbound { + export type Aud = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Aud; + export type Cad = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Cad; + export type Eur = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Eur; + export type Gbp = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Gbp; + export type Usd = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Usd; + } + } + export namespace InboundTransfers { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.InboundTransfers.BankAccounts; + } + export namespace OutboundPayments { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundPayments.BankAccounts; + export type Cards = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundPayments.Cards; + export type FinancialAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundPayments.FinancialAccounts; + } + export namespace OutboundTransfers { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundTransfers.BankAccounts; + export type FinancialAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.OutboundTransfers.FinancialAccounts; + } + export namespace ReceivedCredits { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.ReceivedCredits.BankAccounts; + } + export namespace ReceivedDebits { + export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.MoneyManager.Capabilities.ReceivedDebits.BankAccounts; + } + } + } export namespace Recipient { export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Recipient.Capabilities; export namespace Capabilities { @@ -18173,36 +18355,6 @@ declare namespace StripeConstructor { } } } - export namespace Storer { - export type Capabilities = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities; - export namespace Capabilities { - 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 FinancialAddresses { - export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts; - } - 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 namespace InboundTransfers { - export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts; - } - 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 FinancialAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts; - } - export namespace OutboundTransfers { - export type BankAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts; - export type FinancialAccounts = Stripe_.V2.Core.AccountCreateParams.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts; - } - } - } } export namespace Defaults { export type Locale = Stripe_.V2.Core.AccountCreateParams.Defaults.Locale; @@ -18229,7 +18381,7 @@ declare namespace StripeConstructor { } export namespace TermsOfService { export type Account = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Account; - export type Storer = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.Storer; + export type MoneyManager = Stripe_.V2.Core.AccountCreateParams.Identity.Attestations.TermsOfService.MoneyManager; } } export namespace BusinessDetails { @@ -18328,8 +18480,8 @@ declare namespace StripeConstructor { export namespace Configuration { export type Customer = Stripe_.V2.Core.Account.Configuration.Customer; export type Merchant = Stripe_.V2.Core.Account.Configuration.Merchant; + export type MoneyManager = Stripe_.V2.Core.Account.Configuration.MoneyManager; export type Recipient = Stripe_.V2.Core.Account.Configuration.Recipient; - export type Storer = Stripe_.V2.Core.Account.Configuration.Storer; export namespace Customer { export type AutomaticIndirectTax = Stripe_.V2.Core.Account.Configuration.Customer.AutomaticIndirectTax; export type Billing = Stripe_.V2.Core.Account.Configuration.Customer.Billing; @@ -18418,6 +18570,7 @@ declare namespace StripeConstructor { 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 SunbitPayments = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SunbitPayments; 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; @@ -18753,6 +18906,14 @@ declare namespace StripeConstructor { } } } + export namespace SunbitPayments { + export type Status = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SunbitPayments.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SunbitPayments.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SunbitPayments.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.Merchant.Capabilities.SunbitPayments.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; @@ -18810,6 +18971,197 @@ declare namespace StripeConstructor { export type Address = Stripe_.V2.Core.Account.Configuration.Merchant.Support.Address; } } + export namespace MoneyManager { + export type Capabilities = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities; + export namespace Capabilities { + export type BusinessStorage = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage; + export type InboundTransfers = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.InboundTransfers; + export type OutboundPayments = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments; + export type OutboundTransfers = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers; + export type ReceivedCredits = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedCredits; + export type ReceivedDebits = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedDebits; + export namespace BusinessStorage { + export type Inbound = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound; + export type Outbound = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound; + export namespace Inbound { + export type Aud = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Aud; + export type Cad = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Cad; + export type Eur = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Eur; + export type Gbp = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Gbp; + export type Usd = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Usd; + export namespace Aud { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Aud.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Aud.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Aud.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Aud.StatusDetail.Resolution; + } + } + export namespace Cad { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Cad.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Cad.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Cad.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Cad.StatusDetail.Resolution; + } + } + export namespace Eur { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Eur.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Eur.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Eur.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Eur.StatusDetail.Resolution; + } + } + export namespace Gbp { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Gbp.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Gbp.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Gbp.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Gbp.StatusDetail.Resolution; + } + } + export namespace Usd { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Usd.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Usd.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Usd.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Inbound.Usd.StatusDetail.Resolution; + } + } + } + export namespace Outbound { + export type Aud = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Aud; + export type Cad = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Cad; + export type Eur = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Eur; + export type Gbp = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Gbp; + export type Usd = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Usd; + export namespace Aud { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Aud.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Aud.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Aud.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Aud.StatusDetail.Resolution; + } + } + export namespace Cad { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Cad.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Cad.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Cad.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Cad.StatusDetail.Resolution; + } + } + export namespace Eur { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Eur.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Eur.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Eur.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Eur.StatusDetail.Resolution; + } + } + export namespace Gbp { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Gbp.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Gbp.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Gbp.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Gbp.StatusDetail.Resolution; + } + } + export namespace Usd { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Usd.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Usd.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Usd.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.BusinessStorage.Outbound.Usd.StatusDetail.Resolution; + } + } + } + } + export namespace InboundTransfers { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.InboundTransfers.BankAccounts; + export namespace BankAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.InboundTransfers.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.InboundTransfers.BankAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.InboundTransfers.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.InboundTransfers.BankAccounts.StatusDetail.Resolution; + } + } + } + export namespace OutboundPayments { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.BankAccounts; + export type Cards = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.Cards; + export type FinancialAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.FinancialAccounts; + export namespace BankAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.BankAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.BankAccounts.StatusDetail.Resolution; + } + } + export namespace Cards { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.Cards.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.Cards.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.Cards.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.Cards.StatusDetail.Resolution; + } + } + export namespace FinancialAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.FinancialAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.FinancialAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.FinancialAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundPayments.FinancialAccounts.StatusDetail.Resolution; + } + } + } + export namespace OutboundTransfers { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.BankAccounts; + export type FinancialAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.FinancialAccounts; + export namespace BankAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.BankAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.BankAccounts.StatusDetail.Resolution; + } + } + export namespace FinancialAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.FinancialAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.FinancialAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.FinancialAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.OutboundTransfers.FinancialAccounts.StatusDetail.Resolution; + } + } + } + export namespace ReceivedCredits { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedCredits.BankAccounts; + export namespace BankAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedCredits.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedCredits.BankAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedCredits.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedCredits.BankAccounts.StatusDetail.Resolution; + } + } + } + export namespace ReceivedDebits { + export type BankAccounts = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedDebits.BankAccounts; + export namespace BankAccounts { + export type Status = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedDebits.BankAccounts.Status; + export type StatusDetail = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedDebits.BankAccounts.StatusDetail; + export namespace StatusDetail { + export type Code = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedDebits.BankAccounts.StatusDetail.Code; + export type Resolution = Stripe_.V2.Core.Account.Configuration.MoneyManager.Capabilities.ReceivedDebits.BankAccounts.StatusDetail.Resolution; + } + } + } + } + } export namespace Recipient { export type Capabilities = Stripe_.V2.Core.Account.Configuration.Recipient.Capabilities; export type DefaultOutboundDestination = Stripe_.V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination; @@ -18870,116 +19222,6 @@ declare namespace StripeConstructor { 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 namespace Capabilities { - 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 FinancialAddresses { - export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.FinancialAddresses.BankAccounts; - export namespace BankAccounts { - 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 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 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 namespace Eur { - 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 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 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 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 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 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 InboundTransfers { - export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.InboundTransfers.BankAccounts; - export namespace BankAccounts { - 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 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 FinancialAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundPayments.FinancialAccounts; - export namespace BankAccounts { - 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 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 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 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 FinancialAccounts { - 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 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 OutboundTransfers { - export type BankAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.BankAccounts; - export type FinancialAccounts = Stripe_.V2.Core.Account.Configuration.Storer.Capabilities.OutboundTransfers.FinancialAccounts; - export namespace BankAccounts { - 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 StatusDetail { - 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 FinancialAccounts { - 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 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; - } - } - } - } - } } export namespace Defaults { export type Locale = Stripe_.V2.Core.Account.Defaults.Locale; @@ -19048,7 +19290,7 @@ declare namespace StripeConstructor { } export namespace TermsOfService { export type Account = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.Account; - export type Storer = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.Storer; + export type MoneyManager = Stripe_.V2.Core.Account.Identity.Attestations.TermsOfService.MoneyManager; } } export namespace BusinessDetails { @@ -19247,7 +19489,7 @@ declare namespace StripeConstructor { } export namespace TermsOfService { export type Account = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Account; - export type Storer = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.Storer; + export type MoneyManager = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Attestations.TermsOfService.MoneyManager; } } export namespace BusinessDetails { @@ -19783,6 +20025,7 @@ declare namespace StripeConstructor { } export namespace StatusDetails { export type Failed = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Failed; + export type Processing = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Processing; export type Returned = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Returned; export namespace Failed { export type Reason = Stripe_.V2.MoneyManagement.OutboundPayment.StatusDetails.Failed.Reason; @@ -19865,6 +20108,7 @@ declare namespace StripeConstructor { } export namespace StatusDetails { export type Failed = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Failed; + export type Processing = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Processing; export type Returned = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Returned; export namespace Failed { export type Reason = Stripe_.V2.MoneyManagement.OutboundTransfer.StatusDetails.Failed.Reason; @@ -20007,6 +20251,7 @@ declare namespace StripeConstructor { export type ProductCatalogImport = Stripe_.V2.Commerce.ProductCatalogImport; export namespace ProductCatalogImport { export type FeedType = Stripe_.V2.Commerce.ProductCatalogImport.FeedType; + export type Mode = Stripe_.V2.Commerce.ProductCatalogImport.Mode; export type Status = Stripe_.V2.Commerce.ProductCatalogImport.Status; export type StatusDetails = Stripe_.V2.Commerce.ProductCatalogImport.StatusDetails; export namespace StatusDetails { @@ -20061,14 +20306,14 @@ declare namespace StripeConstructor { 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 V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent; + export type V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEventNotification; + export type V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent; + export type V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEventNotification = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEventNotification; 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; @@ -20155,6 +20400,8 @@ declare namespace StripeConstructor { 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 V2MoneyManagementOutboundPaymentUnderReviewEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentUnderReviewEvent; + export type V2MoneyManagementOutboundPaymentUnderReviewEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentUnderReviewEventNotification; export type V2MoneyManagementOutboundPaymentUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentUpdatedEvent; export type V2MoneyManagementOutboundPaymentUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundPaymentUpdatedEventNotification; export type V2MoneyManagementOutboundTransferCanceledEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferCanceledEvent; @@ -20167,6 +20414,8 @@ declare namespace StripeConstructor { 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 V2MoneyManagementOutboundTransferUnderReviewEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferUnderReviewEvent; + export type V2MoneyManagementOutboundTransferUnderReviewEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferUnderReviewEventNotification; export type V2MoneyManagementOutboundTransferUpdatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferUpdatedEvent; export type V2MoneyManagementOutboundTransferUpdatedEventNotification = Stripe_.V2.Core.Events.V2MoneyManagementOutboundTransferUpdatedEventNotification; export type V2MoneyManagementPayoutMethodCreatedEvent = Stripe_.V2.Core.Events.V2MoneyManagementPayoutMethodCreatedEvent; @@ -20215,12 +20464,12 @@ declare namespace StripeConstructor { export namespace V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent { export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.Data; } + export namespace V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent { + export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent.Data; + } export namespace V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent { export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.Data; } - export namespace V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent { - export type Data = Stripe_.V2.Core.Events.V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.Data; - } export namespace V2CoreAccountLinkReturnedEvent { export type Data = Stripe_.V2.Core.Events.V2CoreAccountLinkReturnedEvent.Data; } diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index a01f0eb065..5ebfb86fb6 100644 --- a/test/resources/generated_examples_test.spec.js +++ b/test/resources/generated_examples_test.spec.js @@ -179,7 +179,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v1/accounts/acc_123', response: - '{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"directorship_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"ownership_exemption_reason":"qualified_entity_exceeds_ownership_threshold","phone":"phone","registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[{"object":"bank_account","account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"directorship_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"ownership_exemption_reason":"qualified_entity_exceeds_ownership_threshold","phone":"phone","registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":null,"details":"details","details_code":"details_code","front":null}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":null,"metadata":{"key":"metadata"},"payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":null,"logo":null,"primary_color":"primary_color","secondary_color":"secondary_color"},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[null],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"account_holder_name":"account_holder_name","account_holder_type":"account_holder_type","account_type":"account_type","available_payout_methods":["standard"],"bank_name":"bank_name","country":"country","currency":"usd","customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":null,"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":null,"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":null,"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[null]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[null]},"test_clock":null},"default_for_currency":true,"fingerprint":"fingerprint","future_requirements":{"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"past_due":["past_due"],"pending_verification":["pending_verification"]},"id":"obj_123","last4":"last4","metadata":{"key":"metadata"},"requirements":{"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"past_due":["past_due"],"pending_verification":["pending_verification"]},"routing_number":"routing_number","status":"status"}]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"object":"person","account":"account","additional_tos_acceptances":{"account":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":1028554472,"dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"key":"metadata"},"nationality":"nationality","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"authorizer":true,"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"us_cfpb_data":{"ethnicity_details":{"ethnicity":["not_hispanic_or_latino"],"ethnicity_other":"ethnicity_other"},"race_details":{"race":["haitian"],"race_other":"race_other"},"self_identified_gender":"self_identified_gender"},"verification":{"additional_document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}},"details":"details","details_code":"details_code","document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}},"status":"status"}},"metadata":{"key":"metadata"},"payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"object":"tax_id","country":"country","created":1028554472,"customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":{"object":"cash_balance","available":{"key":733902135},"customer":"customer","customer_account":"customer_account","livemode":true,"settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":{"object":"discount","checkout_session":"checkout_session","customer":null,"customer_account":"customer_account","end":100571,"id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","promotion_code":null,"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{},"blik":{},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":2079401320,"cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","location":"location","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":1692436047,"type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","reader":"reader","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"regulated_status":"regulated","three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":1692436047,"type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":1028554472,"crypto":{},"custom":{"display_name":"display_name","logo":{"content_type":"content_type","url":"url"},"type":"type"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"twint":{},"type":"swish","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"liability":{"account":null,"type":"account"}},"billing_cycle_anchor":672980850,"billing_cycle_anchor_config":{"day_of_month":1361669285,"hour":3208676,"minute":1074026988,"month":104080000,"second":906279820},"billing_mode":{"flexible":{"proration_discounts":"itemized"},"type":"classic","updated_at":295464393},"billing_schedules":[{"applies_to":[{"price":null,"type":"price"}],"bill_until":{"computed_timestamp":2082605468,"duration":{"interval":"month","interval_count":797691627},"timestamp":55126294,"type":"duration"},"key":"key"}],"billing_thresholds":{"amount_gte":1424546639,"reset_billing_cycle_anchor":true},"cancel_at":476575768,"cancel_at_period_end":true,"canceled_at":1566574183,"cancellation_details":{"comment":"comment","feedback":"other","reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bancontact":{"preferred_language":"fr"},"blik":{"mandate_options":{"expires_after":2021972241}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"}},"payment_method_types":["ideal"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"pause_requested"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"test_clock":{"object":"test_helpers.test_clock","created":1028554472,"deletes_after":73213179,"frozen_time":2033541876,"id":"obj_123","livemode":true,"name":"name","status":"advancing","status_details":{"advancing":{"target_frozen_time":833971362}}}},"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"directorship_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"ownership_exemption_reason":"qualified_entity_exceeds_ownership_threshold","phone":"phone","registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"object":"person","account":"account","additional_tos_acceptances":{"account":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":1028554472,"dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"key":"metadata"},"nationality":"nationality","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"authorizer":true,"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"us_cfpb_data":{"ethnicity_details":{"ethnicity":["not_hispanic_or_latino"],"ethnicity_other":"ethnicity_other"},"race_details":{"race":["haitian"],"race_other":"race_other"},"self_identified_gender":"self_identified_gender"},"verification":{"additional_document":{"back":null,"details":"details","details_code":"details_code","front":null},"details":"details","details_code":"details_code","document":{"back":null,"details":"details","details_code":"details_code","front":null},"status":"status"}},"metadata":{"key":"metadata"},"payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"application":{"object":"application","id":"obj_123","name":"name"},"customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":{"object":"cash_balance","available":{"key":733902135},"customer":"customer","customer_account":"customer_account","livemode":true,"settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":{"object":"discount","checkout_session":"checkout_session","customer":null,"customer_account":"customer_account","end":100571,"id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","promotion_code":null,"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{},"blik":{},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":2079401320,"cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","location":"location","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":1692436047,"type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","reader":"reader","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"regulated_status":"regulated","three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":1692436047,"type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":1028554472,"crypto":{},"custom":{"display_name":"display_name","logo":{"content_type":"content_type","url":"url"},"type":"type"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"twint":{},"type":"swish","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"liability":{"account":null,"type":"account"}},"billing_cycle_anchor":672980850,"billing_cycle_anchor_config":{"day_of_month":1361669285,"hour":3208676,"minute":1074026988,"month":104080000,"second":906279820},"billing_mode":{"flexible":{"proration_discounts":"itemized"},"type":"classic","updated_at":295464393},"billing_schedules":[{"applies_to":[{"price":null,"type":"price"}],"bill_until":{"computed_timestamp":2082605468,"duration":{"interval":"month","interval_count":797691627},"timestamp":55126294,"type":"duration"},"key":"key"}],"billing_thresholds":{"amount_gte":1424546639,"reset_billing_cycle_anchor":true},"cancel_at":476575768,"cancel_at_period_end":true,"canceled_at":1566574183,"cancellation_details":{"comment":"comment","feedback":"other","reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bancontact":{"preferred_language":"fr"},"blik":{"mandate_options":{"expires_after":2021972241}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"}},"payment_method_types":["ideal"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"pause_requested"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"test_clock":{"object":"test_helpers.test_clock","created":1028554472,"deletes_after":73213179,"frozen_time":2033541876,"id":"obj_123","livemode":true,"name":"name","status":"advancing","status_details":{"advancing":{"target_frozen_time":833971362}}}},"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"}', + '{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"directorship_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"ownership_exemption_reason":"qualified_entity_exceeds_ownership_threshold","phone":"phone","registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[{"object":"bank_account","account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"directorship_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"ownership_exemption_reason":"qualified_entity_exceeds_ownership_threshold","phone":"phone","registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":null,"details":"details","details_code":"details_code","front":null}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":null,"metadata":{"key":"metadata"},"payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":null,"logo":null,"primary_color":"primary_color","secondary_color":"secondary_color"},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[null],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"account_holder_name":"account_holder_name","account_holder_type":"account_holder_type","account_type":"account_type","available_payout_methods":["standard"],"bank_name":"bank_name","country":"country","currency":"usd","customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":null,"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":null,"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":null,"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[null]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[null]},"test_clock":null},"default_for_currency":true,"fingerprint":"fingerprint","future_requirements":{"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"past_due":["past_due"],"pending_verification":["pending_verification"]},"id":"obj_123","last4":"last4","metadata":{"key":"metadata"},"requirements":{"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"past_due":["past_due"],"pending_verification":["pending_verification"]},"routing_number":"routing_number","status":"status"}]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"object":"person","account":"account","additional_tos_acceptances":{"account":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":1028554472,"dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"key":"metadata"},"nationality":"nationality","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"authorizer":true,"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"us_cfpb_data":{"ethnicity_details":{"ethnicity":["not_hispanic_or_latino"],"ethnicity_other":"ethnicity_other"},"race_details":{"race":["haitian"],"race_other":"race_other"},"self_identified_gender":"self_identified_gender"},"verification":{"additional_document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}},"details":"details","details_code":"details_code","document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":null,"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}},"status":"status"}},"metadata":{"key":"metadata"},"payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"object":"tax_id","country":"country","created":1028554472,"customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":{"object":"cash_balance","available":{"key":733902135},"customer":"customer","customer_account":"customer_account","livemode":true,"settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":{"object":"discount","checkout_session":"checkout_session","customer":null,"customer_account":"customer_account","end":100571,"id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","promotion_code":null,"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{"buyer_id":"buyer_id"},"blik":{"buyer_id":"buyer_id"},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":2079401320,"cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","location":"location","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":1692436047,"type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","reader":"reader","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"regulated_status":"regulated","three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":1692436047,"type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":1028554472,"crypto":{},"custom":{"display_name":"display_name","logo":{"content_type":"content_type","url":"url"},"type":"type"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"redaction":{"status":"processing"},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"twint":{},"type":"swish","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"liability":{"account":null,"type":"account"}},"billing_cycle_anchor":672980850,"billing_cycle_anchor_config":{"day_of_month":1361669285,"hour":3208676,"minute":1074026988,"month":104080000,"second":906279820},"billing_mode":{"flexible":{"proration_discounts":"itemized"},"type":"classic","updated_at":295464393},"billing_schedules":[{"applies_to":[{"price":null,"type":"price"}],"bill_until":{"computed_timestamp":2082605468,"duration":{"interval":"month","interval_count":797691627},"timestamp":55126294,"type":"duration"},"key":"key"}],"billing_thresholds":{"amount_gte":1424546639,"reset_billing_cycle_anchor":true},"cancel_at":476575768,"cancel_at_period_end":true,"canceled_at":1566574183,"cancellation_details":{"comment":"comment","feedback":"other","reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bancontact":{"preferred_language":"fr"},"blik":{"mandate_options":{"expires_after":2021972241}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"}},"payment_method_types":["pay_by_bank"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"pause_requested"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"test_clock":{"object":"test_helpers.test_clock","created":1028554472,"deletes_after":73213179,"frozen_time":2033541876,"id":"obj_123","livemode":true,"name":"name","status":"advancing","status_details":{"advancing":{"target_frozen_time":833971362}}}},"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","zip_payments":"pending"},"charges_enabled":true,"company":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"directors_provided":true,"directorship_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"executives_provided":true,"export_license_id":"export_license_id","export_purpose_code":"export_purpose_code","name":"name","name_kana":"name_kana","name_kanji":"name_kanji","owners_provided":true,"ownership_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"ownership_exemption_reason":"qualified_entity_exceeds_ownership_threshold","phone":"phone","registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"groups":{"payments_pricing":"payments_pricing"},"id":"obj_123","individual":{"object":"person","account":"account","additional_tos_acceptances":{"account":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"address_kana":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"address_kanji":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state","town":"town"},"created":1028554472,"dob":{"day":99228,"month":104080000,"year":3704893},"email":"email","first_name":"first_name","first_name_kana":"first_name_kana","first_name_kanji":"first_name_kanji","full_name_aliases":["full_name_aliases"],"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"gender":"gender","id":"obj_123","id_number_provided":true,"id_number_secondary_provided":true,"last_name":"last_name","last_name_kana":"last_name_kana","last_name_kanji":"last_name_kanji","maiden_name":"maiden_name","metadata":{"key":"metadata"},"nationality":"nationality","phone":"phone","political_exposure":"none","registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"relationship":{"authorizer":true,"director":true,"executive":true,"legal_guardian":true,"owner":true,"percent_ownership":760989685,"representative":true,"title":"title"},"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"currently_due":["currently_due"],"errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"ssn_last_4_provided":true,"us_cfpb_data":{"ethnicity_details":{"ethnicity":["not_hispanic_or_latino"],"ethnicity_other":"ethnicity_other"},"race_details":{"race":["haitian"],"race_other":"race_other"},"self_identified_gender":"self_identified_gender"},"verification":{"additional_document":{"back":null,"details":"details","details_code":"details_code","front":null},"details":"details","details_code":"details_code","document":{"back":null,"details":"details","details_code":"details_code","front":null},"status":"status"}},"metadata":{"key":"metadata"},"payouts_enabled":true,"requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"invalid_representative_country","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"application":{"object":"application","id":"obj_123","name":"name"},"customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":{"object":"cash_balance","available":{"key":733902135},"customer":"customer","customer_account":"customer_account","livemode":true,"settings":{"reconciliation_mode":"manual","using_merchant_default":true}},"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":{"object":"discount","checkout_session":"checkout_session","customer":null,"customer_account":"customer_account","end":100571,"id":"obj_123","invoice":"invoice","invoice_item":"invoice_item","promotion_code":null,"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{"buyer_id":"buyer_id"},"blik":{"buyer_id":"buyer_id"},"boleto":{"tax_id":"tax_id"},"card":{"brand":"brand","checks":{"address_line1_check":"address_line1_check","address_postal_code_check":"address_postal_code_check","cvc_check":"cvc_check"},"country":"country","description":"description","display_brand":"display_brand","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_from":{"charge":"charge","payment_method_details":{"card_present":{"amount_authorized":1406151710,"brand":"brand","brand_product":"brand_product","capture_before":2079401320,"cardholder_name":"cardholder_name","country":"country","description":"description","emv_auth_data":"emv_auth_data","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","generated_card":"generated_card","iin":"iin","incremental_authorization_supported":true,"issuer":"issuer","last4":"last4","location":"location","network":"network","network_transaction_id":"network_transaction_id","offline":{"stored_at":1692436047,"type":"deferred"},"overcapture_supported":true,"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","reader":"reader","receipt":{"account_type":"checking","application_cryptogram":"application_cryptogram","application_preferred_name":"application_preferred_name","authorization_code":"authorization_code","authorization_response_code":"authorization_response_code","cardholder_verification_method":"cardholder_verification_method","dedicated_file_name":"dedicated_file_name","terminal_verification_results":"terminal_verification_results","transaction_status_information":"transaction_status_information"},"wallet":{"type":"samsung_pay"}},"type":"type"},"setup_attempt":null},"iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"regulated_status":"regulated","three_d_secure_usage":{"supported":true},"wallet":{"amex_express_checkout":{},"apple_pay":{},"dynamic_last4":"dynamic_last4","google_pay":{},"link":{},"masterpass":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}},"samsung_pay":{},"type":"link","visa_checkout":{"billing_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","shipping_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"}}}},"card_present":{"brand":"brand","brand_product":"brand_product","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"offline":{"stored_at":1692436047,"type":"deferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2","wallet":{"type":"samsung_pay"}},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":1028554472,"crypto":{},"custom":{"display_name":"display_name","logo":{"content_type":"content_type","url":"url"},"type":"type"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"bsn"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"redaction":{"status":"processing"},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"setup_attempt":null},"last4":"last4"},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"twint":{},"type":"swish","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"liability":{"account":null,"type":"account"}},"billing_cycle_anchor":672980850,"billing_cycle_anchor_config":{"day_of_month":1361669285,"hour":3208676,"minute":1074026988,"month":104080000,"second":906279820},"billing_mode":{"flexible":{"proration_discounts":"itemized"},"type":"classic","updated_at":295464393},"billing_schedules":[{"applies_to":[{"price":null,"type":"price"}],"bill_until":{"computed_timestamp":2082605468,"duration":{"interval":"month","interval_count":797691627},"timestamp":55126294,"type":"duration"},"key":"key"}],"billing_thresholds":{"amount_gte":1424546639,"reset_billing_cycle_anchor":true},"cancel_at":476575768,"cancel_at_period_end":true,"canceled_at":1566574183,"cancellation_details":{"comment":"comment","feedback":"other","reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bancontact":{"preferred_language":"fr"},"blik":{"mandate_options":{"expires_after":2021972241}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"}},"payment_method_types":["pay_by_bank"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"pause_requested"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"test_clock":{"object":"test_helpers.test_clock","created":1028554472,"deletes_after":73213179,"frozen_time":2033541876,"id":"obj_123","livemode":true,"name":"name","status":"advancing","status_details":{"advancing":{"target_frozen_time":833971362}}}},"customer_account":"customer_account","type":"customer"},"type":"rs_pib","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"}', }, ]); const account = await stripe.accounts.retrieve('acc_123'); @@ -4349,7 +4349,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/commerce/product_catalog/imports', response: - '{"data":[{"object":"v2.commerce.product_catalog_import","created":"1970-01-12T21:42:34.472Z","feed_type":"pricing","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"status":"awaiting_upload"}],"next_page_url":null,"previous_page_url":null}', + '{"data":[{"object":"v2.commerce.product_catalog_import","created":"1970-01-12T21:42:34.472Z","feed_type":"pricing","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"mode":"upsert","status":"awaiting_upload"}],"next_page_url":null,"previous_page_url":null}', }, ]); const productCatalogImports = await stripe.v2.commerce.productCatalog.imports.list(); @@ -4362,7 +4362,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/commerce/product_catalog/imports', response: - '{"object":"v2.commerce.product_catalog_import","created":"1970-01-12T21:42:34.472Z","feed_type":"pricing","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"status":"awaiting_upload"}', + '{"object":"v2.commerce.product_catalog_import","created":"1970-01-12T21:42:34.472Z","feed_type":"pricing","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"mode":"upsert","status":"awaiting_upload"}', }, ]); const productCatalogImport = await stripe.v2.commerce.productCatalog.imports.create( @@ -4383,7 +4383,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/commerce/product_catalog/imports/id_123', response: - '{"object":"v2.commerce.product_catalog_import","created":"1970-01-12T21:42:34.472Z","feed_type":"pricing","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"status":"awaiting_upload"}', + '{"object":"v2.commerce.product_catalog_import","created":"1970-01-12T21:42:34.472Z","feed_type":"pricing","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"mode":"upsert","status":"awaiting_upload"}', }, ]); const productCatalogImport = await stripe.v2.commerce.productCatalog.imports.retrieve( @@ -4398,7 +4398,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/core/accounts', response: - '{"data":[{"object":"v2.core.account","applied_configurations":["storer"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}],"next_page_url":null,"previous_page_url":null}', + '{"data":[{"object":"v2.core.account","applied_configurations":["money_manager"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}],"next_page_url":null,"previous_page_url":null}', }, ]); const accounts = await stripe.v2.core.accounts.list(); @@ -4411,7 +4411,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/core/accounts', response: - '{"object":"v2.core.account","applied_configurations":["storer"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', + '{"object":"v2.core.account","applied_configurations":["money_manager"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', }, ]); const account = await stripe.v2.core.accounts.create(); @@ -4424,7 +4424,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/core/accounts/id_123', response: - '{"object":"v2.core.account","applied_configurations":["storer"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', + '{"object":"v2.core.account","applied_configurations":["money_manager"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', }, ]); const account = await stripe.v2.core.accounts.retrieve('id_123'); @@ -4437,7 +4437,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/core/accounts/id_123', response: - '{"object":"v2.core.account","applied_configurations":["storer"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', + '{"object":"v2.core.account","applied_configurations":["money_manager"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', }, ]); const account = await stripe.v2.core.accounts.update('id_123'); @@ -4450,7 +4450,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/core/accounts/id_123/close', response: - '{"object":"v2.core.account","applied_configurations":["storer"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', + '{"object":"v2.core.account","applied_configurations":["money_manager"],"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true}', }, ]); const account = await stripe.v2.core.accounts.close('id_123'); @@ -4582,7 +4582,7 @@ describe('Generated tests', function() { fields: 'eventually_due', future_requirements: 'include', }, - configurations: ['storer'], + configurations: ['merchant'], refresh_url: 'refresh_url', return_url: 'return_url', }, @@ -4591,7 +4591,7 @@ describe('Generated tests', function() { fields: 'eventually_due', future_requirements: 'include', }, - configurations: ['storer'], + configurations: ['merchant'], refresh_url: 'refresh_url', return_url: 'return_url', }, @@ -4633,7 +4633,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/core/batch_jobs', response: - '{"object":"v2.core.batch_job","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"maximum_rps":1686015830,"metadata":{"key":"metadata"},"skip_validation":true,"status":"batch_failed"}', + '{"object":"v2.core.batch_job","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"skip_validation":true,"status":"batch_failed"}', }, ]); const batchJob = await stripe.v2.core.batchJobs.create({ @@ -4641,9 +4641,6 @@ describe('Generated tests', function() { http_method: 'delete', path: '/v1/subscriptions/:subscription_exposed_id', }, - metadata: { - key: 'metadata', - }, skip_validation: true, }); expect(batchJob).not.to.be.null; @@ -4655,7 +4652,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/core/batch_jobs/id_123', response: - '{"object":"v2.core.batch_job","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"maximum_rps":1686015830,"metadata":{"key":"metadata"},"skip_validation":true,"status":"batch_failed"}', + '{"object":"v2.core.batch_job","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"skip_validation":true,"status":"batch_failed"}', }, ]); const batchJob = await stripe.v2.core.batchJobs.retrieve('id_123'); @@ -4668,7 +4665,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/core/batch_jobs/id_123/cancel', response: - '{"object":"v2.core.batch_job","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"maximum_rps":1686015830,"metadata":{"key":"metadata"},"skip_validation":true,"status":"batch_failed"}', + '{"object":"v2.core.batch_job","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"skip_validation":true,"status":"batch_failed"}', }, ]); const batchJob = await stripe.v2.core.batchJobs.cancel('id_123'); @@ -5985,7 +5982,7 @@ describe('Generated tests', function() { const {CannotProceedError} = require('../../src/Error.js'); nock('https://api.stripe.com') - .post('/v2/extend/workflows/id_123/invoke') + .post('/v2/core/vault/us_bank_accounts/id_123/archive') .reply(400, { error: { type: 'cannot_proceed', @@ -5994,19 +5991,7 @@ describe('Generated tests', function() { }); try { - await realStripe.v2.extend.workflows.invoke('id_123', { - input_parameters: { - int_key: 123, - string_key: 'value', - boolean_key: true, - object_key: { - object_int_key: 123, - object_string_key: 'value', - object_boolean_key: true, - }, - array_key: [1, 2, 3], - }, - }); + await realStripe.v2.core.vault.usBankAccounts.archive('id_123'); expect.fail('Expected error'); } catch (err) { expect(err).to.be.instanceOf(CannotProceedError);