From bd959e84f2bb52f97bf80ad4b14286b030c36782 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 22:27:45 +0000 Subject: [PATCH 1/2] Update generated code (#2748) * Update generated code for v2324 and 2bacf30ea7a096640a42760f6973fee486bcf126 * Update generated code for v2324 and 3b7d6e3c02976c878032d9849a9dd7211d35cb97 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: David Brownman --- CODEGEN_VERSION | 2 +- OPENAPI_VERSION | 2 +- src/apiVersion.ts | 2 +- src/resources/Accounts.ts | 4 +- src/resources/BalanceTransactions.ts | 9 +- src/resources/Billing/CreditBalanceSummary.ts | 2 +- src/resources/Billing/CreditGrants.ts | 4 +- src/resources/Charges.ts | 17 ++ src/resources/Checkout/Sessions.ts | 106 +++++++++- src/resources/ConfirmationTokens.ts | 21 +- src/resources/CreditNotes.ts | 8 +- src/resources/Disputes.ts | 37 ++++ src/resources/Events.ts | 16 +- .../FinancialConnections/Accounts.ts | 34 ++++ .../Identity/VerificationSessions.ts | 2 +- src/resources/Invoices.ts | 16 +- src/resources/PaymentAttemptRecords.ts | 20 +- src/resources/PaymentIntents.ts | 182 +++++++++++++++++- src/resources/PaymentLinks.ts | 3 + src/resources/PaymentMethods.ts | 23 ++- src/resources/PaymentRecords.ts | 44 ++--- src/resources/Reserve/Holds.ts | 17 ++ src/resources/SetupAttempts.ts | 16 +- src/resources/SetupIntents.ts | 11 +- src/resources/Subscriptions.ts | 88 ++++++++- src/resources/Terminal/Readers.ts | 5 + .../TestHelpers/ConfirmationTokens.ts | 2 +- src/resources/Topups.ts | 21 ++ .../V2/Commerce/ProductCatalog/Imports.ts | 12 +- .../V2/Commerce/ProductCatalogImports.ts | 9 +- src/resources/V2/Core/Accounts.ts | 89 ++++++++- src/resources/V2/Core/Events.ts | 1 + src/resources/WebhookEndpoints.ts | 31 +-- src/stripe.cjs.node.ts | 63 +++++- .../resources/generated_examples_test.spec.js | 8 +- 35 files changed, 812 insertions(+), 115 deletions(-) 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/apiVersion.ts b/src/apiVersion.ts index aad8282ad5..4387d87d87 100644 --- a/src/apiVersion.ts +++ b/src/apiVersion.ts @@ -1,4 +1,4 @@ // File generated from our OpenAPI spec -export const ApiVersion = '2026-05-27.dahlia'; +export const ApiVersion = '2026-06-24.dahlia'; export const ApiMajorVersion = 'dahlia'; diff --git a/src/resources/Accounts.ts b/src/resources/Accounts.ts index 872dfa8197..542c726d5c 100644 --- a/src/resources/Accounts.ts +++ b/src/resources/Accounts.ts @@ -2785,7 +2785,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; @@ -4728,7 +4728,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/Charges.ts b/src/resources/Charges.ts index f3761ceb8b..26d58262aa 100644 --- a/src/resources/Charges.ts +++ b/src/resources/Charges.ts @@ -947,6 +947,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. */ @@ -1090,6 +1095,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. */ @@ -1744,6 +1754,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 */ @@ -2441,6 +2456,7 @@ export namespace Charge { | 'ethereum' | 'polygon' | 'solana' + | 'sui' | 'tempo'; export type TokenCurrency = @@ -2448,6 +2464,7 @@ export namespace Charge { | 'usdc' | 'usdg' | 'usdp' + | 'usdsui' | 'usdt'; } diff --git a/src/resources/Checkout/Sessions.ts b/src/resources/Checkout/Sessions.ts index 5c06315495..9e14abbe90 100644 --- a/src/resources/Checkout/Sessions.ts +++ b/src/resources/Checkout/Sessions.ts @@ -1401,6 +1401,8 @@ export namespace Session { sofort?: PaymentMethodOptions.Sofort; + sunbit?: PaymentMethodOptions.Sunbit; + swish?: PaymentMethodOptions.Swish; twint?: PaymentMethodOptions.Twint; @@ -1408,6 +1410,8 @@ export namespace Session { upi?: PaymentMethodOptions.Upi; us_bank_account?: PaymentMethodOptions.UsBankAccount; + + wechat_pay?: PaymentMethodOptions.WechatPay; } export type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; @@ -2732,6 +2736,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. @@ -2792,6 +2814,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'; @@ -3187,6 +3232,10 @@ export namespace Session { } } } + + export namespace WechatPay { + export type Client = 'android' | 'ios' | 'web'; + } } export namespace Permissions { @@ -3757,8 +3806,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; @@ -4591,6 +4638,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. */ @@ -4764,6 +4816,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. */ @@ -6122,6 +6179,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. @@ -7050,6 +7125,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 65d925b175..1c5c386269 100644 --- a/src/resources/ConfirmationTokens.ts +++ b/src/resources/ConfirmationTokens.ts @@ -438,9 +438,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 { /** @@ -885,7 +895,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 0b52ef65ee..b4da7b7c37 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/Disputes.ts b/src/resources/Disputes.ts index a5f5a0b72a..06d72d178c 100644 --- a/src/resources/Disputes.ts +++ b/src/resources/Disputes.ts @@ -162,6 +162,7 @@ export interface Dispute { } export namespace Dispute { export type EnhancedEligibilityType = + | 'mastercard_compliance' | 'visa_compelling_evidence_3' | 'visa_compliance'; @@ -355,12 +356,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. @@ -476,12 +486,21 @@ export namespace Dispute { export namespace EvidenceDetails { export interface EnhancedEligibility { + mastercard_compliance?: EnhancedEligibility.MastercardCompliance; + visa_compelling_evidence_3?: EnhancedEligibility.VisaCompellingEvidence3; visa_compliance?: EnhancedEligibility.VisaCompliance; } 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. @@ -501,6 +520,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' @@ -757,6 +782,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. */ @@ -769,6 +799,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 47e31cf1cd..ab641383a4 100644 --- a/src/resources/Events.ts +++ b/src/resources/Events.ts @@ -123,7 +123,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' @@ -364,13 +370,7 @@ export namespace Event { | 'treasury.received_credit.created' | 'treasury.received_credit.failed' | 'treasury.received_credit.succeeded' - | 'treasury.received_debit.created' - | '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 {} @@ -1839,7 +1839,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 a3aff5598d..a6da26d327 100644 --- a/src/resources/FinancialConnections/Accounts.ts +++ b/src/resources/FinancialConnections/Accounts.ts @@ -202,6 +202,8 @@ export interface Account { */ status: Account.Status; + status_details?: Account.StatusDetails; + /** * If `category` is `cash`, one of: * @@ -348,6 +350,10 @@ export namespace Account { export type Status = 'active' | 'disconnected' | 'inactive'; + export interface StatusDetails { + active?: StatusDetails.Active; + } + export type Subcategory = | 'checking' | 'credit_card' @@ -428,6 +434,34 @@ export namespace Account { export type Status = 'failed' | 'pending' | 'succeeded'; } + 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 namespace Active { + export type Action = 'none' | 'relink_required'; + + export type Cause = + | 'access_expired' + | 'institution_requirement' + | 'unspecified'; + } + } + export namespace TransactionRefresh { export type Status = 'failed' | 'pending' | 'succeeded'; } 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 095c2b79a0..52653c3f1c 100644 --- a/src/resources/Invoices.ts +++ b/src/resources/Invoices.ts @@ -2076,6 +2076,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' @@ -2115,6 +2116,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' @@ -2382,6 +2387,7 @@ export namespace Invoice { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -3162,6 +3168,7 @@ export namespace InvoiceCreateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -3987,6 +3994,7 @@ export namespace InvoiceUpdateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -4541,7 +4549,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>; @@ -5962,7 +5970,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; @@ -6346,7 +6354,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>; @@ -6635,7 +6643,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/PaymentAttemptRecords.ts b/src/resources/PaymentAttemptRecords.ts index d4b83b42d5..79017f07be 100644 --- a/src/resources/PaymentAttemptRecords.ts +++ b/src/resources/PaymentAttemptRecords.ts @@ -721,6 +721,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. */ @@ -770,7 +775,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. @@ -797,7 +802,7 @@ export namespace PaymentAttemptRecord { /** * Issuer identification number of the card. */ - iin: string | null; + iin?: string | null; /** * Installment details for this payment. @@ -807,7 +812,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. @@ -844,11 +849,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. */ @@ -1896,8 +1896,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. @@ -2134,6 +2132,7 @@ export namespace PaymentAttemptRecord { | 'ethereum' | 'polygon' | 'solana' + | 'sui' | 'tempo'; export type TokenCurrency = @@ -2141,6 +2140,7 @@ export namespace PaymentAttemptRecord { | 'usdc' | 'usdg' | 'usdp' + | 'usdsui' | 'usdt'; } diff --git a/src/resources/PaymentIntents.ts b/src/resources/PaymentIntents.ts index 84a211d823..db0a69c1b0 100644 --- a/src/resources/PaymentIntents.ts +++ b/src/resources/PaymentIntents.ts @@ -939,6 +939,8 @@ export namespace PaymentIntent { sofort?: PaymentMethodOptions.Sofort; + sunbit?: PaymentMethodOptions.Sunbit; + swish?: PaymentMethodOptions.Swish; twint?: PaymentMethodOptions.Twint; @@ -1120,6 +1122,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' @@ -1159,6 +1162,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' @@ -2853,6 +2860,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 { @@ -2900,6 +2918,24 @@ export namespace PaymentIntent { setup_future_usage?: Sofort.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. @@ -2978,7 +3014,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; @@ -3453,6 +3489,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 { /** @@ -4195,7 +4235,7 @@ export namespace PaymentIntentCreateParams { sofort?: PaymentMethodData.Sofort; /** - * 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; @@ -4481,6 +4521,11 @@ export namespace PaymentIntentCreateParams { */ sofort?: 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. */ @@ -6329,6 +6374,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 { @@ -6387,6 +6443,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. @@ -6478,7 +6556,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; @@ -7180,6 +7258,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 { /** @@ -7863,7 +7945,7 @@ export namespace PaymentIntentUpdateParams { sofort?: PaymentMethodData.Sofort; /** - * 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; @@ -8149,6 +8231,11 @@ export namespace PaymentIntentUpdateParams { */ sofort?: 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. */ @@ -9930,6 +10017,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 { @@ -9988,6 +10086,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. @@ -10079,7 +10199,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; @@ -10781,6 +10901,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 { /** @@ -11808,7 +11932,7 @@ export namespace PaymentIntentConfirmParams { sofort?: PaymentMethodData.Sofort; /** - * 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; @@ -12094,6 +12218,11 @@ export namespace PaymentIntentConfirmParams { */ sofort?: 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. */ @@ -13902,6 +14031,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 { @@ -13960,6 +14100,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. @@ -14051,7 +14213,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; @@ -14753,6 +14915,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 { /** @@ -15204,7 +15370,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 f536537f9a..040e06f730 100644 --- a/src/resources/PaymentLinks.ts +++ b/src/resources/PaymentLinks.ts @@ -1683,6 +1683,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 1f5971ee8f..969d0b1e53 100644 --- a/src/resources/PaymentMethods.ts +++ b/src/resources/PaymentMethods.ts @@ -384,9 +384,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 { /** @@ -848,7 +858,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 {} @@ -2043,7 +2058,7 @@ export interface PaymentMethodCreateParams { sofort?: PaymentMethodCreateParams.Sofort; /** - * 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 88c81b1bef..ce0deecc9f 100644 --- a/src/resources/PaymentRecords.ts +++ b/src/resources/PaymentRecords.ts @@ -829,6 +829,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. */ @@ -878,7 +883,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. @@ -905,7 +910,7 @@ export namespace PaymentRecord { /** * Issuer identification number of the card. */ - iin: string | null; + iin?: string | null; /** * Installment details for this payment. @@ -915,7 +920,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. @@ -952,11 +957,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. */ @@ -2004,8 +2004,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. @@ -2242,6 +2240,7 @@ export namespace PaymentRecord { | 'ethereum' | 'polygon' | 'solana' + | 'sui' | 'tempo'; export type TokenCurrency = @@ -2249,6 +2248,7 @@ export namespace PaymentRecord { | 'usdc' | 'usdg' | 'usdp' + | 'usdsui' | 'usdt'; } @@ -3113,11 +3113,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. */ @@ -3137,6 +3132,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 { @@ -3151,13 +3151,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). @@ -3170,6 +3163,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/Reserve/Holds.ts b/src/resources/Reserve/Holds.ts index 695db903ab..f907808917 100644 --- a/src/resources/Reserve/Holds.ts +++ b/src/resources/Reserve/Holds.ts @@ -60,6 +60,11 @@ export interface Hold { */ reason: Hold.Reason; + /** + * List of ReserveReleases and the amounts released from this ReserveHold. + */ + release_details?: Array; + release_schedule: Hold.ReleaseSchedule; /** @@ -82,6 +87,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 d7b4c48e62..85b5444335 100644 --- a/src/resources/SetupAttempts.ts +++ b/src/resources/SetupAttempts.ts @@ -151,6 +151,8 @@ export namespace SetupAttempt { revolut_pay?: PaymentMethodDetails.RevolutPay; + satispay?: PaymentMethodDetails.Satispay; + sepa_debit?: PaymentMethodDetails.SepaDebit; sofort?: PaymentMethodDetails.Sofort; @@ -482,10 +484,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 { @@ -726,6 +735,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' @@ -765,6 +775,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 ebef3da105..d8c13acd24 100644 --- a/src/resources/SetupIntents.ts +++ b/src/resources/SetupIntents.ts @@ -584,6 +584,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' @@ -623,6 +624,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' @@ -1802,7 +1807,7 @@ export namespace SetupIntentCreateParams { sofort?: PaymentMethodData.Sofort; /** - * 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; @@ -3641,7 +3646,7 @@ export namespace SetupIntentUpdateParams { sofort?: PaymentMethodData.Sofort; /** - * 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; @@ -5375,7 +5380,7 @@ export namespace SetupIntentConfirmParams { sofort?: PaymentMethodData.Sofort; /** - * 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/Subscriptions.ts b/src/resources/Subscriptions.ts index c5d55706d5..40252ddca4 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. */ @@ -1404,6 +1404,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; } @@ -1641,6 +1656,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`. @@ -1753,6 +1780,7 @@ export namespace Subscription { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -2416,6 +2444,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. */ @@ -2704,6 +2747,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`. @@ -2890,6 +2945,7 @@ export namespace SubscriptionCreateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' @@ -3532,6 +3588,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. */ @@ -3560,7 +3631,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; @@ -3844,6 +3915,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`. @@ -4034,6 +4117,7 @@ export namespace SubscriptionUpdateParams { | 'pix' | 'promptpay' | 'revolut_pay' + | 'satispay' | 'sepa_credit_transfer' | 'sepa_debit' | 'sofort' diff --git a/src/resources/Terminal/Readers.ts b/src/resources/Terminal/Readers.ts index 446251e2d2..4b83002134 100644 --- a/src/resources/Terminal/Readers.ts +++ b/src/resources/Terminal/Readers.ts @@ -703,6 +703,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' @@ -742,6 +743,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 cf4ae12b11..2f3ec1ee84 100644 --- a/src/resources/TestHelpers/ConfirmationTokens.ts +++ b/src/resources/TestHelpers/ConfirmationTokens.ts @@ -319,7 +319,7 @@ export namespace TestHelpers { sofort?: PaymentMethodData.Sofort; /** - * 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/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/Accounts.ts b/src/resources/V2/Core/Accounts.ts index e9099ce27e..526584d0f3 100644 --- a/src/resources/V2/Core/Accounts.ts +++ b/src/resources/V2/Core/Accounts.ts @@ -993,6 +993,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. */ @@ -1569,6 +1574,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. @@ -3107,6 +3124,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' @@ -3598,7 +3651,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; @@ -6240,6 +6293,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. */ @@ -6602,6 +6660,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. @@ -8867,6 +8932,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. */ @@ -9229,6 +9299,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. @@ -9751,14 +9828,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 { @@ -9785,7 +9862,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. */ @@ -9802,7 +9879,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. */ diff --git a/src/resources/V2/Core/Events.ts b/src/resources/V2/Core/Events.ts index 4a88193ac6..c493cf753d 100644 --- a/src/resources/V2/Core/Events.ts +++ b/src/resources/V2/Core/Events.ts @@ -765,6 +765,7 @@ export namespace V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpda | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' + | 'sunbit_payments' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' diff --git a/src/resources/WebhookEndpoints.ts b/src/resources/WebhookEndpoints.ts index 2be3a02882..94e30cba1c 100644 --- a/src/resources/WebhookEndpoints.ts +++ b/src/resources/WebhookEndpoints.ts @@ -214,7 +214,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' @@ -455,13 +461,7 @@ export namespace WebhookEndpointCreateParams { | 'treasury.received_credit.created' | 'treasury.received_credit.failed' | 'treasury.received_credit.succeeded' - | 'treasury.received_debit.created' - | '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' @@ -587,7 +587,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 { /** @@ -641,7 +642,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' @@ -882,13 +889,7 @@ export namespace WebhookEndpointUpdateParams { | 'treasury.received_credit.created' | 'treasury.received_credit.failed' | 'treasury.received_credit.succeeded' - | 'treasury.received_debit.created' - | '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 84486e9957..8562e1f0de 100644 --- a/src/stripe.cjs.node.ts +++ b/src/stripe.cjs.node.ts @@ -2035,6 +2035,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 { @@ -2056,6 +2057,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 { @@ -2070,8 +2072,12 @@ declare namespace StripeConstructor { export namespace EvidenceDetails { export type EnhancedEligibility = Stripe_.Dispute.EvidenceDetails.EnhancedEligibility; 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; @@ -2931,7 +2937,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 { @@ -3231,6 +3236,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit; export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; + 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; @@ -3376,6 +3382,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; @@ -3598,6 +3607,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit; export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; + 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; @@ -3743,6 +3753,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; @@ -4008,6 +4021,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit; export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; + 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; @@ -4153,6 +4167,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; @@ -4375,6 +4392,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntent.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit; export type Sofort = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort; + 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; @@ -4502,6 +4520,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; @@ -6555,8 +6576,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; } @@ -6661,7 +6682,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 { @@ -7157,6 +7177,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 Twint = Stripe_.SetupAttempt.PaymentMethodDetails.Twint; @@ -8146,6 +8167,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; @@ -8303,6 +8325,7 @@ declare namespace StripeConstructor { export type Feedback = Stripe_.SubscriptionUpdateParams.CancellationDetails.Feedback; } 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; @@ -8476,6 +8499,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; @@ -8969,6 +8993,12 @@ declare namespace StripeConstructor { } } } + 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; } @@ -9729,6 +9759,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; @@ -9890,6 +9921,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; @@ -10086,10 +10118,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; @@ -10202,6 +10236,9 @@ declare namespace StripeConstructor { } } } + export namespace WechatPay { + export type Client = Stripe_.Checkout.Session.PaymentMethodOptions.WechatPay.Client; + } } export namespace Permissions { export type UpdateShippingDetails = Stripe_.Checkout.Session.Permissions.UpdateShippingDetails; @@ -10319,6 +10356,7 @@ declare namespace StripeConstructor { export type OwnershipRefresh = Stripe_.FinancialConnections.Account.OwnershipRefresh; export type Permission = Stripe_.FinancialConnections.Account.Permission; export type Status = Stripe_.FinancialConnections.Account.Status; + export type StatusDetails = Stripe_.FinancialConnections.Account.StatusDetails; export type Subcategory = Stripe_.FinancialConnections.Account.Subcategory; export type SupportedPaymentMethodType = Stripe_.FinancialConnections.Account.SupportedPaymentMethodType; export type TransactionRefresh = Stripe_.FinancialConnections.Account.TransactionRefresh; @@ -10340,6 +10378,13 @@ declare namespace StripeConstructor { export namespace OwnershipRefresh { export type Status = Stripe_.FinancialConnections.Account.OwnershipRefresh.Status; } + export namespace StatusDetails { + export type Active = Stripe_.FinancialConnections.Account.StatusDetails.Active; + export namespace Active { + export type Action = Stripe_.FinancialConnections.Account.StatusDetails.Active.Action; + export type Cause = Stripe_.FinancialConnections.Account.StatusDetails.Active.Cause; + } + } export namespace TransactionRefresh { export type Status = Stripe_.FinancialConnections.Account.TransactionRefresh.Status; } @@ -12852,6 +12897,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; @@ -13095,6 +13141,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; @@ -13430,6 +13477,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; @@ -13934,6 +13989,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 { @@ -13967,6 +14023,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; } diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index df9eecadb1..76dbb7d0eb 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","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","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","grabpay_payments":"pending","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","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sofort_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","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":{"fees":{"payer":"application"},"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","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","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","grabpay_payments":"pending","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","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sofort_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","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":{"fees":{"payer":"application"},"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":"verification_missing_owners","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":"verification_missing_owners","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_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":{"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"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_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":{"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":{},"grabpay":{},"id":"obj_123","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"},"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","payer_email":"payer_email","payer_id":"payer_id"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"radar_options":{"session":"session"},"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"},"sofort":{"country":"country"},"sunbit":{},"swish":{},"twint":{},"type":"acss_debit","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","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]},"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"},"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"},"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"]},"permissions":["balances"],"prefetch":["ownership"]},"verification_method":"microdeposits"}},"payment_method_types":["kakao_pay"],"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"},"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"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","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","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","grabpay_payments":"pending","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","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sofort_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","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":{"fees":{"payer":"application"},"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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_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":{"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"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"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":{"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":{},"grabpay":{},"id":"obj_123","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"},"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","payer_email":"payer_email","payer_id":"payer_id"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{},"promptpay":{},"radar_options":{"session":"session"},"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"},"sofort":{"country":"country"},"sunbit":{},"swish":{},"twint":{},"type":"acss_debit","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","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]},"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"},"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"},"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"]},"permissions":["balances"],"prefetch":["ownership"]},"verification_method":"microdeposits"}},"payment_method_types":["kakao_pay"],"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"},"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"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":{"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"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"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","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","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","grabpay_payments":"pending","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","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sofort_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","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":{"fees":{"payer":"application"},"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","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","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","grabpay_payments":"pending","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","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sofort_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","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":{"fees":{"payer":"application"},"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":"verification_missing_owners","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":"verification_missing_owners","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_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":{"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"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_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":{"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":{},"grabpay":{},"id":"obj_123","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"},"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","payer_email":"payer_email","payer_id":"payer_id"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"radar_options":{"session":"session"},"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"},"sofort":{"country":"country"},"sunbit":{},"swish":{},"twint":{},"type":"acss_debit","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","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],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"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"},"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"},"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"]},"permissions":["balances"],"prefetch":["ownership"]},"verification_method":"microdeposits"}},"payment_method_types":["revolut_pay"],"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"},"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"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","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","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","grabpay_payments":"pending","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","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sofort_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","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":{"fees":{"payer":"application"},"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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","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":"verification_missing_owners","reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_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":{"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"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"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":{"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":{},"grabpay":{},"id":"obj_123","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"},"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","payer_email":"payer_email","payer_id":"payer_id"},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"radar_options":{"session":"session"},"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"},"sofort":{"country":"country"},"sunbit":{},"swish":{},"twint":{},"type":"acss_debit","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","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],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"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"},"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"},"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"]},"permissions":["balances"],"prefetch":["ownership"]},"verification_method":"microdeposits"}},"payment_method_types":["revolut_pay"],"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"},"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"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":{"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"},"sepa_debit_payments":{"creditor_id":"creditor_id"},"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'); @@ -4002,7 +4002,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(); @@ -4015,7 +4015,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( @@ -4036,7 +4036,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( From 3c5c172c0dbabc0c34a1fd14b910ad5ada110a53 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Wed, 24 Jun 2026 15:42:24 -0700 Subject: [PATCH 2/2] Bump version to 22.3.0 --- CHANGELOG.md | 44 ++++++++++++++++++++++++++++++++++++++++++ VERSION | 2 +- package.json | 2 +- src/stripe.core.ts | 2 +- src/stripe.esm.node.ts | 2 +- 5 files changed, 48 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddf1ff664e..d6536a6e78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## 22.3.0 - 2026-06-24 +This release changes the pinned API version to 2026-06-24.dahlia. + +* [#2748](https://github.com/stripe/stripe-node/pull/2748) Update generated code + * Add support for `release_details` on `Reserve.Hold` + * ⚠️ Add support for new value `tax_fund` on enum `BalanceTransaction.type` + * Change `Billing.CreditGrant.priority` to be required + * Add support for `buyer_id` on `Charge.payment_method_details.bizum`, `ConfirmationToken.payment_method_preview.bizum`, `ConfirmationToken.payment_method_preview.blik`, `PaymentAttemptRecord.payment_method_details.bizum`, `PaymentMethod.bizum`, `PaymentMethod.blik`, and `PaymentRecord.payment_method_details.bizum` + * Add support for `transaction_link_id` on `Charge.payment_method_details.card` + * ⚠️ Add support for new value `sui` on enums `Charge.payment_method_details.crypto.network`, `PaymentAttemptRecord.payment_method_details.crypto.network`, and `PaymentRecord.payment_method_details.crypto.network` + * ⚠️ Add support for new value `usdsui` on enums `Charge.payment_method_details.crypto.token_currency`, `PaymentAttemptRecord.payment_method_details.crypto.token_currency`, and `PaymentRecord.payment_method_details.crypto.token_currency` + * Add support for `fingerprint` on `Charge.payment_method_details.pix`, `ConfirmationToken.payment_method_preview.pix`, `PaymentMethod.pix`, and `SetupAttempt.payment_method_details.pix` + * Add support for `sunbit` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options` + * Add support for `billing_cycle_anchor_config` on `Checkout.SessionCreateParams.subscription_data` + * Add support for `wechat_pay` on `Checkout.Session.payment_method_options` + * Add support for `mastercard_compliance` on `Dispute.evidence.enhanced_evidence`, `Dispute.evidence_details.enhanced_eligibility`, and `DisputeUpdateParams.evidence.enhanced_evidence` + * ⚠️ Add support for new value `mastercard_compliance` on enum `Dispute.enhanced_eligibility_types` + * Add support for `status_details` on `FinancialConnections.Account` + * ⚠️ Add support for new value `validated` on enum `Identity.VerificationSession.redaction.status` + * Add support for new value `satispay` on enums `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types` + * ⚠️ Add support for new value `satispay` on enums `Invoice.payment_settings.payment_method_types` and `Subscription.payment_settings.payment_method_types` + * ⚠️ Remove support for `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card` + * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.description` and `PaymentRecord.payment_method_details.card.description` to be optional + * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.iin` and `PaymentRecord.payment_method_details.card.iin` to be optional + * ⚠️ Change `PaymentAttemptRecord.payment_method_details.card.issuer` and `PaymentRecord.payment_method_details.card.issuer` to be optional + * Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.satispay`, `PaymentIntentConfirmParams.payment_method_options.satispay`, `PaymentIntentCreateParams.payment_method_options.satispay`, and `PaymentIntentUpdateParams.payment_method_options.satispay` + * Change `PaymentRecordReportRefundParams.refunded` to be optional + * Add support for `satispay` on `SetupAttempt.payment_method_details` + * Add support for `custom_fields`, `description`, and `footer` on `Subscription.invoice_settings`, `SubscriptionCreateParams.invoice_settings`, and `SubscriptionUpdateParams.invoice_settings` + * Add support for `payment_method_options` and `payment_method` on `TopupCreateParams` + * Add support for new value `2026-06-24.dahlia` on enum `WebhookEndpointCreateParams.api_version` + * Add support for `mode` on `V2.Commerce.ProductCatalogImport` + * ⚠️ Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImport.feed_type` + * Add support for `sunbit_payments` on `V2.Core.Account.configuration.merchant.capabilities`, `V2.Core.AccountCreateParams.configuration.merchant.capabilities`, and `V2.Core.AccountUpdateParams.configuration.merchant.capabilities` + * Add support for `crypto_money_manager` and `money_manager` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service` + * ⚠️ Remove support for `crypto_storer` and `storer` on `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service` + * Add support for new value `promotion` on enum `V2.Commerce.ProductCatalogImportCreateParams.feed_type` + * ⚠️ Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability` + * Add support for error codes `anomalous_money_movement_request`, `failed_tax_calculation`, `financial_account_balance_does_not_support_currency`, `financial_account_capability_not_enabled`, and `financial_account_capability_restricted` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, `StripeError`, and `Terminal.Reader.action.api_error` +* [#2765](https://github.com/stripe/stripe-node/pull/2765) fix: CJS companion namespace access for resource types at all depths + + - Fixes TypeScript type access for nested namespaces in CJS mode (e.g. `Stripe.Price.Recurring`, `Stripe.Subscription.BillingMode`) + - Fixes TypeScript type access for nested resource types e.g. `Stripe.Billing.Alert.Status`, `Stripe.Terminal.Configuration.Tipping` in both ESM and CJS modes. + ## 22.2.3 - 2026-06-22 * [#2761](https://github.com/stripe/stripe-node/pull/2761) Encode URI path params in `accounts.retrieve` diff --git a/VERSION b/VERSION index 5c95d72232..8326e27f9b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -22.2.3 +22.3.0 diff --git a/package.json b/package.json index d4494aeabb..b118d7f70d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stripe", - "version": "22.2.3", + "version": "22.3.0", "description": "Stripe API wrapper", "keywords": [ "stripe", diff --git a/src/stripe.core.ts b/src/stripe.core.ts index 40eb283882..f70ec4c7eb 100644 --- a/src/stripe.core.ts +++ b/src/stripe.core.ts @@ -948,7 +948,7 @@ const defaultRequestSenderFactory: RequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS); export class Stripe { - static PACKAGE_VERSION = '22.2.3'; + static PACKAGE_VERSION = '22.3.0'; static API_VERSION: typeof ApiVersion = ApiVersion; static aiAgent = ''; static AI_AGENT = ''; diff --git a/src/stripe.esm.node.ts b/src/stripe.esm.node.ts index 1bd5cce135..b5ddf28a26 100644 --- a/src/stripe.esm.node.ts +++ b/src/stripe.esm.node.ts @@ -950,7 +950,7 @@ const defaultRequestSenderFactory: RequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS); export class Stripe { - static PACKAGE_VERSION = '22.2.3'; + static PACKAGE_VERSION = '22.3.0'; static API_VERSION: typeof ApiVersion = ApiVersion; static aiAgent = ''; static AI_AGENT = '';