diff --git a/.hark/changes/2026-10-14_stripe-openapi_9fea6e78.change.md b/.hark/changes/2026-10-14_stripe-openapi_9fea6e78.change.md new file mode 100644 index 0000000000..6f580a48e0 --- /dev/null +++ b/.hark/changes/2026-10-14_stripe-openapi_9fea6e78.change.md @@ -0,0 +1,45 @@ +--- +title: Update generated code +pr_url: https://github.com/stripe/stripe-node/pull/2889 +semver_level: major +is_stripe_api_change: true +--- + +* ⚠️ Remove support for `capture` method on resource `V2.Payments.OffSessionPayment` +* ⚠️ Remove support for `acknowledge_confirmation_of_payee` and `initiate_confirmation_of_payee` methods on resource `V2.Core.Vault.GbBankAccount` +* Add support for `wechat_pay_mobile_web_payments` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings` +* ⚠️ Remove support for `wechat_pay_payments` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings` +* Add support for `settlement_reserved` on `Balance` +* Change type of `BalanceSettings.payments.default_settlement_currency` from `string | null` to `string` +* Add support for new value `settlement_reserved` on enum `BalanceTransaction.balance_type` +* Add support for `carecredit`, `getflex`, and `sezzle` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` +* Add support for `rakuten_pay` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentAttemptRecord.payment_method_details`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodCreateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` +* Add support for new value `auto` on enums `Checkout.Session.payment_method_collection` and `Checkout.SessionCreateParams.payment_method_collection` +* Add support for `mandate_options` on `Checkout.SessionCreateParams.payment_method_options.card` +* Change `Checkout.Session.items[].subscription.backdate_start_date` to be required +* Add support for new values `carecredit`, `getflex`, `rakuten_pay`, and `sezzle` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type` +* Add support for new values `carecredit`, `getflex`, `rakuten_pay`, and `sezzle` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type` +* Add support for new values `carecredit`, `getflex`, `rakuten_pay`, and `sezzle` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` +* Add support for new values `three_d_secure.authentication.canceled`, `three_d_secure.authentication.challenge_started`, `three_d_secure.authentication.errored`, `three_d_secure.authentication.failed`, `three_d_secure.authentication.requires_challenge`, `three_d_secure.authentication.requires_submission`, and `three_d_secure.authentication.succeeded` on enum `Event.type` +* Add support for `fraudulent_document` on `Identity.VerificationReport.signals` +* Add support for new values `carecredit`, `getflex`, `rakuten_pay`, and `sezzle` on enums `PaymentIntent.allowed_payment_method_types`, `PaymentIntentConfirmParams.allowed_payment_method_types`, `PaymentIntentCreateParams.allowed_payment_method_types`, `PaymentIntentUpdateParams.allowed_payment_method_types`, `SetupIntent.allowed_payment_method_types`, `SetupIntentConfirmParams.allowed_payment_method_types`, `SetupIntentCreateParams.allowed_payment_method_types`, and `SetupIntentUpdateParams.allowed_payment_method_types` +* Add support for new values `carecredit`, `getflex`, `rakuten_pay`, and `sezzle` on enums `PaymentIntent.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntent.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types` +* Add support for new values `simulated_stripe_t600` and `stripe_t600` on enum `Terminal.ReaderListParams.device_type` +* Add support for new values `three_d_secure.authentication.canceled`, `three_d_secure.authentication.challenge_started`, `three_d_secure.authentication.errored`, `three_d_secure.authentication.failed`, `three_d_secure.authentication.requires_challenge`, `three_d_secure.authentication.requires_submission`, and `three_d_secure.authentication.succeeded` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointUpdateParams.enabled_events` +* Add support for `contact_email` on `V2.Core.AccountEvaluation.account_data`, `V2.Core.AccountEvaluationCreateParams.account_data`, `V2.Signals.AccountActivity.account_details.data`, `V2.Signals.AccountActivityCreateParams.account_details.data`, `V2.Signals.AccountEvaluation.account_details.data`, and `V2.Signals.AccountEvaluationCreateParams.account_details.data` +* Add support for new value `user_merchant_fit` on enum `V2.Core.AccountEvaluation.evaluations_triggered` +* ⚠️ Change type of `V2.Core.Account.identity.individual.additional_addresses[].purpose` and `V2.Core.AccountPerson.additional_addresses[].purpose` from `literal('registered')` to `enum('birthplace'|'registered')` +* Add support for `bre_b`, `nip`, and `pix` on `V2.MoneyManagement.FinancialAddress.bank_account` and `V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account` +* Add support for new value `ousd` on enum `V2.MoneyManagement.FinancialAddress.crypto_wallet.supported_network_details.value.supported_token_currencies` +* Add support for new values `bre_b`, `nip`, and `pix` on enum `V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.type` +* ⚠️ Remove support for `amount_capturable` on `V2.Payments.OffSessionPayment` +* ⚠️ Remove support for `capture` on `V2.Payments.OffSessionPaymentCreateParams` and `V2.Payments.OffSessionPayment` +* Add support for `user_merchant_fit` on `V2.Signals.AccountEvaluation.evaluated_signals` and `V2.Signals.AccountSignal` +* Add support for new value `user_merchant_fit` on enum `V2.Signals.AccountEvaluation.pending_signals` +* Add support for new value `user_merchant_fit` on enums `V2.Signals.AccountEvaluation.requested_signals` and `V2.Signals.AccountEvaluationCreateParams.requested_signals` +* Add support for new value `user_merchant_fit` on enums `V2.Signals.AccountSignal.type` and `V2.Signals.AccountSignalListParams.type` +* Add support for new values `bre_b` and `pix` on enum `V2.MoneyManagement.FinancialAddressCreditSimulationCreditParams.network` +* Change type of `V2.Core.AccountCreateParams.identity.individual.additional_addresses[].purpose`, `V2.Core.AccountPersonCreateParams.additional_addresses[].purpose`, `V2.Core.AccountPersonTokenCreateParams.additional_addresses[].purpose`, `V2.Core.AccountPersonUpdateParams.additional_addresses[].purpose`, `V2.Core.AccountTokenCreateParams.identity.individual.additional_addresses[].purpose`, and `V2.Core.AccountUpdateParams.identity.individual.additional_addresses[].purpose` from `literal('registered')` to `enum('birthplace'|'registered')` +* Add support for new value `user_merchant_fit` on enum `V2.Core.AccountEvaluationCreateParams.signals` +* Add support for snapshot events `ThreeDSecureAuthenticationCanceledEvent`, `ThreeDSecureAuthenticationChallengeStartedEvent`, `ThreeDSecureAuthenticationErroredEvent`, `ThreeDSecureAuthenticationFailedEvent`, `ThreeDSecureAuthenticationRequiresChallengeEvent`, `ThreeDSecureAuthenticationRequiresSubmissionEvent`, and `ThreeDSecureAuthenticationSucceededEvent` with resource `ThreeDSecure.Authentication` +* ⚠️ Remove support for event notification `V2PaymentsOffSessionPaymentRequiresCaptureEvent` with related object `V2.Payments.OffSessionPayment` diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 0f330b47ae..52d81e8f18 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -43649cb7390f9257ffa04232dc7ed9ea8359c77f \ No newline at end of file +ee856c792d5b7bc7c9a55588bd92531c2774e744 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 06472c208f..24341e7738 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2544 \ No newline at end of file +v2562 \ No newline at end of file diff --git a/src/StripeEventNotificationHandler.ts b/src/StripeEventNotificationHandler.ts index 5e5ef8367c..b084db90d9 100644 --- a/src/StripeEventNotificationHandler.ts +++ b/src/StripeEventNotificationHandler.ts @@ -475,7 +475,6 @@ const KNOWN_EVENT_TYPES = new Set([ 'v2.payments.off_session_payment.created', 'v2.payments.off_session_payment.failed', 'v2.payments.off_session_payment.paused', - 'v2.payments.off_session_payment.requires_capture', 'v2.payments.off_session_payment.resumed', 'v2.payments.off_session_payment.succeeded', 'v2.payments.settlement_allocation_intent.canceled', diff --git a/src/apiVersion.ts b/src/apiVersion.ts index 6f02b9b60a..86d48cb003 100644 --- a/src/apiVersion.ts +++ b/src/apiVersion.ts @@ -1,4 +1,4 @@ // File generated from our OpenAPI spec -export const ApiVersion = '2026-10-07.preview'; +export const ApiVersion = '2026-10-14.preview'; export const ApiMajorVersion = ''; diff --git a/src/resources/Accounts.ts b/src/resources/Accounts.ts index 31df233172..29f5db77d8 100644 --- a/src/resources/Accounts.ts +++ b/src/resources/Accounts.ts @@ -1372,7 +1372,7 @@ export namespace Account { treasury?: Settings.Treasury; - wechat_pay_payments?: Settings.WechatPayPayments; + wechat_pay_mobile_web_payments?: Settings.WechatPayMobileWebPayments; } export interface TosAcceptance { @@ -2647,11 +2647,11 @@ export namespace Account { tos_acceptance?: Treasury.TosAcceptance; } - export interface WechatPayPayments { + export interface WechatPayMobileWebPayments { /** - * The domains of the user's mobile web checkout pages for WeChat Pay payments. At most 4 domains are allowed. + * The domains of the user's mobile web checkout pages for WeChat Pay payments. */ - mobile_web_domains?: Array; + domains?: Array; } export namespace CardIssuing { @@ -3870,9 +3870,9 @@ export namespace AccountCreateParams { treasury?: Settings.Treasury; /** - * Settings specific to the WeChat Pay payments method. + * Settings specific to WeChat Pay payments made through a mobile web browser. */ - wechat_pay_payments?: Settings.WechatPayPayments; + wechat_pay_mobile_web_payments?: Settings.WechatPayMobileWebPayments; } export interface TosAcceptance { @@ -5095,11 +5095,11 @@ export namespace AccountCreateParams { tos_acceptance?: Treasury.TosAcceptance; } - export interface WechatPayPayments { + export interface WechatPayMobileWebPayments { /** - * The domains of the user's mobile web checkout pages for WeChat Pay payments. At most 4 domains are allowed. + * The domains of the user's mobile web checkout pages for WeChat Pay payments. */ - mobile_web_domains?: Emptyable>; + domains?: Emptyable>; } export namespace CardIssuing { @@ -6343,9 +6343,9 @@ export namespace AccountUpdateParams { treasury?: Settings.Treasury; /** - * Settings specific to the WeChat Pay payments method. + * Settings specific to WeChat Pay payments made through a mobile web browser. */ - wechat_pay_payments?: Settings.WechatPayPayments; + wechat_pay_mobile_web_payments?: Settings.WechatPayMobileWebPayments; } export interface TosAcceptance { @@ -7536,11 +7536,11 @@ export namespace AccountUpdateParams { tos_acceptance?: Treasury.TosAcceptance; } - export interface WechatPayPayments { + export interface WechatPayMobileWebPayments { /** - * The domains of the user's mobile web checkout pages for WeChat Pay payments. At most 4 domains are allowed. + * The domains of the user's mobile web checkout pages for WeChat Pay payments. */ - mobile_web_domains?: Emptyable>; + domains?: Emptyable>; } export namespace CardIssuing { diff --git a/src/resources/Balance.ts b/src/resources/Balance.ts index 291abc2bdd..dfd2d9ef67 100644 --- a/src/resources/Balance.ts +++ b/src/resources/Balance.ts @@ -52,6 +52,8 @@ export interface Balance { risk_reserved?: Balance.RiskReserved; + settlement_reserved?: Balance.SettlementReserved; + transit_balances_total?: Balance.TransitBalancesTotal; } export namespace Balance { @@ -147,6 +149,18 @@ export namespace Balance { pending: Array; } + export interface SettlementReserved { + /** + * Funds that are available for use. + */ + available: Array; + + /** + * Funds that are pending + */ + pending: Array; + } + export interface TransitBalancesTotal { /** * Funds that are available for use. @@ -444,6 +458,74 @@ export namespace Balance { } } + export namespace SettlementReserved { + export interface Available { + /** + * Balance amount. + */ + amount: number; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + source_types?: Available.SourceTypes; + } + + export interface Pending { + /** + * Balance amount. + */ + amount: number; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + source_types?: Pending.SourceTypes; + } + + export namespace Available { + export interface SourceTypes { + /** + * Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). + */ + bank_account?: number; + + /** + * Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). + */ + card?: number; + + /** + * Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method. + */ + fpx?: number; + } + } + + export namespace Pending { + export interface SourceTypes { + /** + * Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated). + */ + bank_account?: number; + + /** + * Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits). + */ + card?: number; + + /** + * Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method. + */ + fpx?: number; + } + } + } + export namespace TransitBalancesTotal { export interface Available { /** diff --git a/src/resources/BalanceSettings.ts b/src/resources/BalanceSettings.ts index 6b9af50702..cf9b385b3d 100644 --- a/src/resources/BalanceSettings.ts +++ b/src/resources/BalanceSettings.ts @@ -54,7 +54,7 @@ export namespace BalanceSettings { /** * The default settlement currency for the account. */ - default_settlement_currency?: string | null; + default_settlement_currency?: string; /** * Settings specific to the account's payouts. diff --git a/src/resources/BalanceTransactions.ts b/src/resources/BalanceTransactions.ts index 1e83c09117..d14b1c86ef 100644 --- a/src/resources/BalanceTransactions.ts +++ b/src/resources/BalanceTransactions.ts @@ -131,6 +131,7 @@ export namespace BalanceTransaction { | 'payments' | 'refund_and_dispute_prefunding' | 'risk_reserved' + | 'settlement_reserved' | 'transit' | OtherString; diff --git a/src/resources/Cards.ts b/src/resources/Cards.ts index 75f68afd7d..91db94fe7d 100644 --- a/src/resources/Cards.ts +++ b/src/resources/Cards.ts @@ -15,6 +15,9 @@ export interface Card { */ object: 'card'; + /** + * The account this card belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](https://docs.stripe.com/api/external_account_cards/object) where [controller.is_controller](https://docs.stripe.com/api/accounts/object#account_object-controller-is_controller) is `true`. + */ account?: string | Account | null; /** diff --git a/src/resources/Charges.ts b/src/resources/Charges.ts index a222263683..a54493a1ef 100644 --- a/src/resources/Charges.ts +++ b/src/resources/Charges.ts @@ -500,6 +500,8 @@ export namespace Charge { card_present?: PaymentMethodDetails.CardPresent; + carecredit?: PaymentMethodDetails.Carecredit; + cashapp?: PaymentMethodDetails.Cashapp; crypto?: PaymentMethodDetails.Crypto; @@ -510,6 +512,8 @@ export namespace Charge { fpx?: PaymentMethodDetails.Fpx; + getflex?: PaymentMethodDetails.Getflex; + gift_card?: PaymentMethodDetails.GiftCard; giropay?: PaymentMethodDetails.Giropay; @@ -566,6 +570,8 @@ export namespace Charge { qris?: PaymentMethodDetails.Qris; + rakuten_pay?: PaymentMethodDetails.RakutenPay; + rechnung?: PaymentMethodDetails.Rechnung; revolut_pay?: PaymentMethodDetails.RevolutPay; @@ -582,6 +588,8 @@ export namespace Charge { sequra?: PaymentMethodDetails.Sequra; + sezzle?: PaymentMethodDetails.Sezzle; + /** * ID of the shared payment granted token used to make this payment. */ @@ -1326,6 +1334,8 @@ export namespace Charge { wallet?: CardPresent.Wallet; } + export interface Carecredit {} + export interface Cashapp { /** * A unique and immutable identifier assigned by Cash App to every buyer. @@ -1408,6 +1418,8 @@ export namespace Charge { transaction_id: string | null; } + export interface Getflex {} + export interface GiftCard { balance: GiftCard.Balance; @@ -1979,6 +1991,8 @@ export namespace Charge { export interface Qris {} + export interface RakutenPay {} + export interface Rechnung { /** * Payment portal URL. @@ -2082,6 +2096,8 @@ export namespace Charge { transaction_id: string | null; } + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { diff --git a/src/resources/Checkout/Sessions.ts b/src/resources/Checkout/Sessions.ts index a149f2ce8f..d082d4ebce 100644 --- a/src/resources/Checkout/Sessions.ts +++ b/src/resources/Checkout/Sessions.ts @@ -1841,7 +1841,11 @@ export namespace Session { export type OriginContext = 'mobile_app' | 'web' | OtherString; - export type PaymentMethodCollection = 'always' | 'if_required' | OtherString; + export type PaymentMethodCollection = + | 'always' + | 'auto' + | 'if_required' + | OtherString; export interface PaymentMethodConfigurationDetails { /** @@ -3109,7 +3113,7 @@ export namespace Session { /** * The Unix timestamp marking the subscription's backdated start date. */ - backdate_start_date?: number | null; + backdate_start_date: number | null; /** * The description for the subscription. @@ -5173,7 +5177,7 @@ export namespace Checkout { consent_collection?: SessionCreateParams.ConsentCollection; /** - * 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). Required in `setup` mode when `payment_method_types` is not set. + * 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). Required in `setup` mode when `allowed_payment_method_types` is not set. */ currency?: string; @@ -6029,6 +6033,7 @@ export namespace Checkout { export type PaymentMethodCollection = | 'always' + | 'auto' | 'if_required' | OtherString; @@ -7805,6 +7810,11 @@ export namespace Checkout { */ installments?: Card.Installments; + /** + * Configuration options for setting up an eMandate for cards issued in India. + */ + mandate_options?: Card.MandateOptions; + /** * Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession. */ @@ -8610,6 +8620,58 @@ export namespace Checkout { enabled?: boolean; } + export interface MandateOptions { + /** + * Maximum or fixed amount for future payments, specified in the Checkout Session's integration currency. + */ + amount?: number; + + /** + * One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + */ + amount_type?: MandateOptions.AmountType; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency?: string; + + /** + * A description of the mandate or subscription that is meant to be displayed to the customer. + */ + description?: string; + + /** + * End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + */ + end_date?: number; + + /** + * Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + */ + interval?: MandateOptions.Interval; + + /** + * The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + */ + interval_count?: number; + + /** + * Unique identifier for the mandate or subscription. + */ + reference?: string; + + /** + * Start date of the mandate or subscription. Start date should not be lesser than yesterday. + */ + start_date?: number; + + /** + * Specifies the type of mandates supported. Possible values are `india`. + */ + supported_types?: Array<'india'>; + } + export type RequestDecrementalAuthorization = | 'if_available' | 'never' @@ -8655,6 +8717,18 @@ export namespace Checkout { | 'on_session' | OtherString; + export namespace MandateOptions { + export type AmountType = 'fixed' | 'maximum' | OtherString; + + export type Interval = + | 'day' + | 'month' + | 'sporadic' + | 'week' + | 'year' + | OtherString; + } + export namespace Restrictions { export type BrandsBlocked = | 'american_express' diff --git a/src/resources/ConfirmationTokens.ts b/src/resources/ConfirmationTokens.ts index fbd41b0984..8ec6e04908 100644 --- a/src/resources/ConfirmationTokens.ts +++ b/src/resources/ConfirmationTokens.ts @@ -156,6 +156,8 @@ export namespace ConfirmationToken { card_present?: PaymentMethodPreview.CardPresent; + carecredit?: PaymentMethodPreview.Carecredit; + cashapp?: PaymentMethodPreview.Cashapp; crypto?: PaymentMethodPreview.Crypto; @@ -173,6 +175,8 @@ export namespace ConfirmationToken { fpx?: PaymentMethodPreview.Fpx; + getflex?: PaymentMethodPreview.Getflex; + gift_card?: PaymentMethodPreview.GiftCard; giropay?: PaymentMethodPreview.Giropay; @@ -229,6 +233,8 @@ export namespace ConfirmationToken { qris?: PaymentMethodPreview.Qris; + rakuten_pay?: PaymentMethodPreview.RakutenPay; + rechnung?: PaymentMethodPreview.Rechnung; revolut_pay?: PaymentMethodPreview.RevolutPay; @@ -243,6 +249,8 @@ export namespace ConfirmationToken { sequra?: PaymentMethodPreview.Sequra; + sezzle?: PaymentMethodPreview.Sezzle; + shopeepay?: PaymentMethodPreview.Shopeepay; sofort?: PaymentMethodPreview.Sofort; @@ -677,6 +685,8 @@ export namespace ConfirmationToken { wallet?: CardPresent.Wallet; } + export interface Carecredit {} + export interface Cashapp { /** * A unique and immutable identifier assigned by Cash App to every buyer. @@ -712,6 +722,8 @@ export namespace ConfirmationToken { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The brand of the gift card. @@ -1001,6 +1013,8 @@ export namespace ConfirmationToken { export interface Qris {} + export interface RakutenPay {} + export interface Rechnung { dob?: Rechnung.Dob; } @@ -1047,6 +1061,8 @@ export namespace ConfirmationToken { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -1087,12 +1103,14 @@ export namespace ConfirmationToken { | 'boleto' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -1121,6 +1139,7 @@ export namespace ConfirmationToken { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -1128,6 +1147,7 @@ export namespace ConfirmationToken { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' diff --git a/src/resources/Customers.ts b/src/resources/Customers.ts index d39fc367e0..07837f961b 100644 --- a/src/resources/Customers.ts +++ b/src/resources/Customers.ts @@ -2664,12 +2664,14 @@ export namespace CustomerListPaymentMethodsParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -2697,6 +2699,7 @@ export namespace CustomerListPaymentMethodsParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -2704,6 +2707,7 @@ export namespace CustomerListPaymentMethodsParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' diff --git a/src/resources/Events.ts b/src/resources/Events.ts index 8c33b47d38..15204284ab 100644 --- a/src/resources/Events.ts +++ b/src/resources/Events.ts @@ -404,6 +404,13 @@ export namespace Event { | 'test_helpers.test_clock.deleted' | 'test_helpers.test_clock.internal_failure' | 'test_helpers.test_clock.ready' + | 'three_d_secure.authentication.canceled' + | 'three_d_secure.authentication.challenge_started' + | 'three_d_secure.authentication.errored' + | 'three_d_secure.authentication.failed' + | 'three_d_secure.authentication.requires_challenge' + | 'three_d_secure.authentication.requires_submission' + | 'three_d_secure.authentication.succeeded' | 'topup.canceled' | 'topup.created' | 'topup.failed' @@ -541,6 +548,7 @@ import {Sigma} from './Sigma/index.js'; import {Tax} from './Tax/index.js'; import {Terminal} from './Terminal/index.js'; import {TestHelpers} from './TestHelpers/index.js'; +import {ThreeDSecure} from './ThreeDSecure/index.js'; import {Treasury} from './Treasury/index.js'; import {Application} from './Applications.js'; import {ExternalAccount} from './ExternalAccounts.js'; @@ -865,6 +873,13 @@ export type Event = | TestHelpersTestClockDeletedEvent | TestHelpersTestClockInternalFailureEvent | TestHelpersTestClockReadyEvent + | ThreeDSecureAuthenticationCanceledEvent + | ThreeDSecureAuthenticationChallengeStartedEvent + | ThreeDSecureAuthenticationErroredEvent + | ThreeDSecureAuthenticationFailedEvent + | ThreeDSecureAuthenticationRequiresChallengeEvent + | ThreeDSecureAuthenticationRequiresSubmissionEvent + | ThreeDSecureAuthenticationSucceededEvent | TopupCanceledEvent | TopupCreatedEvent | TopupFailedEvent @@ -5325,6 +5340,121 @@ export namespace TestHelpersTestClockReadyEvent { } } +/** + * Occurs when a 3DS Authentication's status transitions to 'canceled' + */ +export interface ThreeDSecureAuthenticationCanceledEvent extends EventBase { + type: 'three_d_secure.authentication.canceled'; + data: ThreeDSecureAuthenticationCanceledEvent.Data; +} + +export namespace ThreeDSecureAuthenticationCanceledEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + +/** + * Occurs when a 3DS Authentication's 'challenge_url' was loaded. + */ +export interface ThreeDSecureAuthenticationChallengeStartedEvent + extends EventBase { + type: 'three_d_secure.authentication.challenge_started'; + data: ThreeDSecureAuthenticationChallengeStartedEvent.Data; +} + +export namespace ThreeDSecureAuthenticationChallengeStartedEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + +/** + * Occurs when a 3DS Authentication's status transitions to 'error' + */ +export interface ThreeDSecureAuthenticationErroredEvent extends EventBase { + type: 'three_d_secure.authentication.errored'; + data: ThreeDSecureAuthenticationErroredEvent.Data; +} + +export namespace ThreeDSecureAuthenticationErroredEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + +/** + * Occurs when a 3DS Authentication's status transitions to 'failed' + */ +export interface ThreeDSecureAuthenticationFailedEvent extends EventBase { + type: 'three_d_secure.authentication.failed'; + data: ThreeDSecureAuthenticationFailedEvent.Data; +} + +export namespace ThreeDSecureAuthenticationFailedEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + +/** + * Occurs when a 3DS Authentication's status transitions to 'requires_challenge' + */ +export interface ThreeDSecureAuthenticationRequiresChallengeEvent + extends EventBase { + type: 'three_d_secure.authentication.requires_challenge'; + data: ThreeDSecureAuthenticationRequiresChallengeEvent.Data; +} + +export namespace ThreeDSecureAuthenticationRequiresChallengeEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + +/** + * Occurs when a 3DS Authentication's status transitions to 'requires_submission' + */ +export interface ThreeDSecureAuthenticationRequiresSubmissionEvent + extends EventBase { + type: 'three_d_secure.authentication.requires_submission'; + data: ThreeDSecureAuthenticationRequiresSubmissionEvent.Data; +} + +export namespace ThreeDSecureAuthenticationRequiresSubmissionEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + +/** + * Occurs when a 3DS Authentication's status transitions to 'succeeded' + */ +export interface ThreeDSecureAuthenticationSucceededEvent extends EventBase { + type: 'three_d_secure.authentication.succeeded'; + data: ThreeDSecureAuthenticationSucceededEvent.Data; +} + +export namespace ThreeDSecureAuthenticationSucceededEvent { + export interface Data extends Event.Data { + object: ThreeDSecure.Authentication; + + previous_attributes?: Partial; + } +} + /** * Occurs whenever a top-up is canceled. */ diff --git a/src/resources/Identity/VerificationReports.ts b/src/resources/Identity/VerificationReports.ts index 98e53f2d22..577ecdbbcf 100644 --- a/src/resources/Identity/VerificationReports.ts +++ b/src/resources/Identity/VerificationReports.ts @@ -367,6 +367,8 @@ export namespace VerificationReport { } export interface Signals { + fraudulent_document?: Signals.FraudulentDocument; + fraudulent_email?: Signals.FraudulentEmail; fraudulent_person?: Signals.FraudulentPerson; @@ -687,6 +689,18 @@ export namespace VerificationReport { } export namespace Signals { + export interface FraudulentDocument { + /** + * Array of objects representing individual factors that contributed to the calculated risk level. + */ + indicators: Array; + + /** + * Categorical assessment of the document risk. + */ + risk_level: FraudulentDocument.RiskLevel; + } + export interface FraudulentEmail { /** * Array of objects representing individual factors that contributed to the calculated risk level. @@ -723,6 +737,51 @@ export namespace VerificationReport { risk_level: FraudulentPhone.RiskLevel; } + export namespace FraudulentDocument { + export interface Indicator { + /** + * A brief explanation of how this indicator contributed to the risk level. + */ + explanation: string; + + /** + * The effect this indicator had on the overall risk level. + */ + impact: Indicator.Impact; + + /** + * The name of the specific indicator used in the risk assessment. + */ + indicator: Indicator.Indicator; + } + + export type RiskLevel = + | 'elevated' + | 'highest' + | 'low' + | 'normal' + | 'not_assessed' + | 'unknown' + | OtherString; + + export namespace Indicator { + export type Impact = + | 'decrease' + | 'neutral' + | 'slight_increase' + | 'strong_increase' + | OtherString; + + export type Indicator = + | 'dob_mismatch' + | 'forged_document' + | 'name_mismatch' + | 'other' + | 'static_document' + | OtherString; + } + } + export namespace FraudulentEmail { export interface Indicator { /** diff --git a/src/resources/InvoiceItems.ts b/src/resources/InvoiceItems.ts index 4d64279338..95715a297c 100644 --- a/src/resources/InvoiceItems.ts +++ b/src/resources/InvoiceItems.ts @@ -477,7 +477,7 @@ export namespace InvoiceItem { export interface ProrationDetails { /** - * For a credit proration, links to the debit invoice line items or invoice item that the credit applies to. + * For a credit proration, links to the debit that the credit applies to. The reference is to an invoice item if the debit was pending when the credit was created, and to invoice line items if the debit was already invoiced. */ credited_items: ProrationDetails.CreditedItems | null; diff --git a/src/resources/PaymentAttemptRecords.ts b/src/resources/PaymentAttemptRecords.ts index eb8ca138ce..f6ecce9eae 100644 --- a/src/resources/PaymentAttemptRecords.ts +++ b/src/resources/PaymentAttemptRecords.ts @@ -431,6 +431,8 @@ export namespace PaymentAttemptRecord { card_present?: PaymentMethodDetails.CardPresent; + carecredit?: PaymentMethodDetails.Carecredit; + cashapp?: PaymentMethodDetails.Cashapp; crypto?: PaymentMethodDetails.Crypto; @@ -448,6 +450,8 @@ export namespace PaymentAttemptRecord { fpx?: PaymentMethodDetails.Fpx; + getflex?: PaymentMethodDetails.Getflex; + gift_card?: PaymentMethodDetails.GiftCard; giropay?: PaymentMethodDetails.Giropay; @@ -511,6 +515,8 @@ export namespace PaymentAttemptRecord { qris?: PaymentMethodDetails.Qris; + rakuten_pay?: PaymentMethodDetails.RakutenPay; + rechnung?: PaymentMethodDetails.Rechnung; revolut_pay?: PaymentMethodDetails.RevolutPay; @@ -527,6 +533,8 @@ export namespace PaymentAttemptRecord { sequra?: PaymentMethodDetails.Sequra; + sezzle?: PaymentMethodDetails.Sezzle; + shopeepay?: PaymentMethodDetails.Shopeepay; sofort?: PaymentMethodDetails.Sofort; @@ -1188,6 +1196,8 @@ export namespace PaymentAttemptRecord { wallet?: CardPresent.Wallet; } + export interface Carecredit {} + export interface Cashapp { /** * A unique and immutable identifier assigned by Cash App to every buyer. @@ -1280,6 +1290,8 @@ export namespace PaymentAttemptRecord { transaction_id: string | null; } + export interface Getflex {} + export interface GiftCard { /** * The balance of the gift card after the transaction. @@ -1853,6 +1865,8 @@ export namespace PaymentAttemptRecord { export interface Qris {} + export interface RakutenPay {} + export interface Rechnung { /** * Payment portal URL. @@ -1956,6 +1970,8 @@ export namespace PaymentAttemptRecord { transaction_id: string | null; } + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { diff --git a/src/resources/PaymentIntents.ts b/src/resources/PaymentIntents.ts index 1266743de5..4e9dc07cfc 100644 --- a/src/resources/PaymentIntents.ts +++ b/src/resources/PaymentIntents.ts @@ -725,6 +725,7 @@ export namespace PaymentIntent { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -739,6 +740,7 @@ export namespace PaymentIntent { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -781,6 +783,7 @@ export namespace PaymentIntent { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -788,6 +791,7 @@ export namespace PaymentIntent { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -885,11 +889,13 @@ export namespace PaymentIntent { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -916,6 +922,7 @@ export namespace PaymentIntent { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -923,6 +930,7 @@ export namespace PaymentIntent { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -1208,6 +1216,8 @@ export namespace PaymentIntent { card_present?: PaymentMethodOptions.CardPresent; + carecredit?: PaymentMethodOptions.Carecredit; + cashapp?: PaymentMethodOptions.Cashapp; crypto?: PaymentMethodOptions.Crypto; @@ -1218,6 +1228,8 @@ export namespace PaymentIntent { fpx?: PaymentMethodOptions.Fpx; + getflex?: PaymentMethodOptions.Getflex; + gift_card?: PaymentMethodOptions.GiftCard; giropay?: PaymentMethodOptions.Giropay; @@ -1288,6 +1300,8 @@ export namespace PaymentIntent { sequra?: PaymentMethodOptions.Sequra; + sezzle?: PaymentMethodOptions.Sezzle; + shopeepay?: PaymentMethodOptions.Shopeepay; sofort?: PaymentMethodOptions.Sofort; @@ -4754,6 +4768,24 @@ export namespace PaymentIntent { routing?: CardPresent.Routing; } + export interface Carecredit { + /** + * 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?: Carecredit.SetupFutureUsage; + } + export interface Cashapp { /** * Controls when the funds will be captured from the customer's account. @@ -4842,6 +4874,24 @@ export namespace PaymentIntent { setup_future_usage?: 'none'; } + export interface Getflex { + /** + * 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?: Getflex.SetupFutureUsage; + } + export interface GiftCard { /** * Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card. @@ -5429,6 +5479,24 @@ export namespace PaymentIntent { setup_future_usage?: 'none'; } + export interface Sezzle { + /** + * 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 Shopeepay { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -6193,6 +6261,10 @@ export namespace PaymentIntent { } } + export namespace Carecredit { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace Cashapp { export type SetupFutureUsage = | 'none' @@ -6320,6 +6392,10 @@ export namespace PaymentIntent { } } + export namespace Getflex { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace GiftCard { export type RequestPartialAuthorization = | 'if_available' @@ -7062,6 +7138,7 @@ export namespace PaymentIntentCreateParams { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -7076,6 +7153,7 @@ export namespace PaymentIntentCreateParams { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -7118,6 +7196,7 @@ export namespace PaymentIntentCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -7125,6 +7204,7 @@ export namespace PaymentIntentCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -7226,11 +7306,13 @@ export namespace PaymentIntentCreateParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -7257,6 +7339,7 @@ export namespace PaymentIntentCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -7264,6 +7347,7 @@ export namespace PaymentIntentCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -7446,6 +7530,11 @@ export namespace PaymentIntentCreateParams { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -7471,6 +7560,11 @@ export namespace PaymentIntentCreateParams { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -7621,6 +7715,11 @@ export namespace PaymentIntentCreateParams { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -7656,6 +7755,11 @@ export namespace PaymentIntentCreateParams { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -7803,6 +7907,11 @@ export namespace PaymentIntentCreateParams { */ card_present?: Emptyable; + /** + * If this is a `carecredit` PaymentMethod, this sub-hash contains details about the CareCredit payment method options. + */ + carecredit?: Emptyable; + /** * If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. */ @@ -7828,6 +7937,11 @@ export namespace PaymentIntentCreateParams { */ fpx?: Emptyable; + /** + * If this is a `getflex` PaymentMethod, this sub-hash contains details about the GetFlex payment method options. + */ + getflex?: Emptyable; + /** * If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options. */ @@ -8003,6 +8117,11 @@ export namespace PaymentIntentCreateParams { */ sequra?: Emptyable; + /** + * If this is a `sezzle` PaymentMethod, this sub-hash contains details about the Sezzle payment method options. + */ + sezzle?: Emptyable; + /** * If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. */ @@ -11006,6 +11125,8 @@ export namespace PaymentIntentCreateParams { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -11031,6 +11152,8 @@ export namespace PaymentIntentCreateParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -11166,6 +11289,8 @@ export namespace PaymentIntentCreateParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -11190,6 +11315,8 @@ export namespace PaymentIntentCreateParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -11228,11 +11355,13 @@ export namespace PaymentIntentCreateParams { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -11260,6 +11389,7 @@ export namespace PaymentIntentCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -11267,6 +11397,7 @@ export namespace PaymentIntentCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -12037,6 +12168,28 @@ export namespace PaymentIntentCreateParams { routing?: CardPresent.Routing; } + export interface Carecredit { + /** + * 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?: Emptyable; + } + export interface Cashapp { /** * Controls when the funds are captured from the customer's account. @@ -12151,6 +12304,28 @@ export namespace PaymentIntentCreateParams { setup_future_usage?: 'none'; } + export interface Getflex { + /** + * 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?: Emptyable; + } + export interface GiftCard { /** * Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card. @@ -12862,6 +13037,28 @@ export namespace PaymentIntentCreateParams { setup_future_usage?: 'none'; } + export interface Sezzle { + /** + * 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 Shopeepay { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -13777,6 +13974,10 @@ export namespace PaymentIntentCreateParams { } } + export namespace Carecredit { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace Cashapp { export type SetupFutureUsage = | 'none' @@ -13896,6 +14097,10 @@ export namespace PaymentIntentCreateParams { } } + export namespace Getflex { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace GiftCard { export type RequestPartialAuthorization = | 'if_available' @@ -15946,6 +16151,7 @@ export namespace PaymentIntentUpdateParams { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -15960,6 +16166,7 @@ export namespace PaymentIntentUpdateParams { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -16002,6 +16209,7 @@ export namespace PaymentIntentUpdateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -16009,6 +16217,7 @@ export namespace PaymentIntentUpdateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -16094,11 +16303,13 @@ export namespace PaymentIntentUpdateParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -16125,6 +16336,7 @@ export namespace PaymentIntentUpdateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -16132,6 +16344,7 @@ export namespace PaymentIntentUpdateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -16312,6 +16525,11 @@ export namespace PaymentIntentUpdateParams { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -16337,6 +16555,11 @@ export namespace PaymentIntentUpdateParams { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -16487,6 +16710,11 @@ export namespace PaymentIntentUpdateParams { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -16522,6 +16750,11 @@ export namespace PaymentIntentUpdateParams { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -16669,6 +16902,11 @@ export namespace PaymentIntentUpdateParams { */ card_present?: Emptyable; + /** + * If this is a `carecredit` PaymentMethod, this sub-hash contains details about the CareCredit payment method options. + */ + carecredit?: Emptyable; + /** * If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. */ @@ -16694,6 +16932,11 @@ export namespace PaymentIntentUpdateParams { */ fpx?: Emptyable; + /** + * If this is a `getflex` PaymentMethod, this sub-hash contains details about the GetFlex payment method options. + */ + getflex?: Emptyable; + /** * If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options. */ @@ -16869,6 +17112,11 @@ export namespace PaymentIntentUpdateParams { */ sequra?: Emptyable; + /** + * If this is a `sezzle` PaymentMethod, this sub-hash contains details about the Sezzle payment method options. + */ + sezzle?: Emptyable; + /** * If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. */ @@ -19814,6 +20062,8 @@ export namespace PaymentIntentUpdateParams { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -19839,6 +20089,8 @@ export namespace PaymentIntentUpdateParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -19974,6 +20226,8 @@ export namespace PaymentIntentUpdateParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -19998,6 +20252,8 @@ export namespace PaymentIntentUpdateParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -20036,11 +20292,13 @@ export namespace PaymentIntentUpdateParams { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -20068,6 +20326,7 @@ export namespace PaymentIntentUpdateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -20075,6 +20334,7 @@ export namespace PaymentIntentUpdateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -20845,6 +21105,28 @@ export namespace PaymentIntentUpdateParams { routing?: CardPresent.Routing; } + export interface Carecredit { + /** + * 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?: Emptyable; + } + export interface Cashapp { /** * Controls when the funds are captured from the customer's account. @@ -20959,6 +21241,28 @@ export namespace PaymentIntentUpdateParams { setup_future_usage?: 'none'; } + export interface Getflex { + /** + * 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?: Emptyable; + } + export interface GiftCard { /** * Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card. @@ -21670,6 +21974,28 @@ export namespace PaymentIntentUpdateParams { setup_future_usage?: 'none'; } + export interface Sezzle { + /** + * 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 Shopeepay { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -22585,6 +22911,10 @@ export namespace PaymentIntentUpdateParams { } } + export namespace Carecredit { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace Cashapp { export type SetupFutureUsage = | 'none' @@ -22704,6 +23034,10 @@ export namespace PaymentIntentUpdateParams { } } + export namespace Getflex { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace GiftCard { export type RequestPartialAuthorization = | 'if_available' @@ -27503,6 +27837,7 @@ export namespace PaymentIntentConfirmParams { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -27517,6 +27852,7 @@ export namespace PaymentIntentConfirmParams { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -27559,6 +27895,7 @@ export namespace PaymentIntentConfirmParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -27566,6 +27903,7 @@ export namespace PaymentIntentConfirmParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -27651,11 +27989,13 @@ export namespace PaymentIntentConfirmParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -27682,6 +28022,7 @@ export namespace PaymentIntentConfirmParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -27689,6 +28030,7 @@ export namespace PaymentIntentConfirmParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -27871,6 +28213,11 @@ export namespace PaymentIntentConfirmParams { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -27896,6 +28243,11 @@ export namespace PaymentIntentConfirmParams { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -28046,6 +28398,11 @@ export namespace PaymentIntentConfirmParams { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -28081,6 +28438,11 @@ export namespace PaymentIntentConfirmParams { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -28228,6 +28590,11 @@ export namespace PaymentIntentConfirmParams { */ card_present?: Emptyable; + /** + * If this is a `carecredit` PaymentMethod, this sub-hash contains details about the CareCredit payment method options. + */ + carecredit?: Emptyable; + /** * If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. */ @@ -28253,6 +28620,11 @@ export namespace PaymentIntentConfirmParams { */ fpx?: Emptyable; + /** + * If this is a `getflex` PaymentMethod, this sub-hash contains details about the GetFlex payment method options. + */ + getflex?: Emptyable; + /** * If this is a `gift_card` PaymentMethod, this sub-hash contains details about the gift card payment method options. */ @@ -28428,6 +28800,11 @@ export namespace PaymentIntentConfirmParams { */ sequra?: Emptyable; + /** + * If this is a `sezzle` PaymentMethod, this sub-hash contains details about the Sezzle payment method options. + */ + sezzle?: Emptyable; + /** * If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. */ @@ -31377,6 +31754,8 @@ export namespace PaymentIntentConfirmParams { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -31402,6 +31781,8 @@ export namespace PaymentIntentConfirmParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -31537,6 +31918,8 @@ export namespace PaymentIntentConfirmParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -31561,6 +31944,8 @@ export namespace PaymentIntentConfirmParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -31599,11 +31984,13 @@ export namespace PaymentIntentConfirmParams { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -31631,6 +32018,7 @@ export namespace PaymentIntentConfirmParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -31638,6 +32026,7 @@ export namespace PaymentIntentConfirmParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -32408,6 +32797,28 @@ export namespace PaymentIntentConfirmParams { routing?: CardPresent.Routing; } + export interface Carecredit { + /** + * 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?: Emptyable; + } + export interface Cashapp { /** * Controls when the funds are captured from the customer's account. @@ -32522,6 +32933,28 @@ export namespace PaymentIntentConfirmParams { setup_future_usage?: 'none'; } + export interface Getflex { + /** + * 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?: Emptyable; + } + export interface GiftCard { /** * Set to `yes` to ignore the application fee on the PaymentIntent when redeeming this gift card. @@ -33233,6 +33666,28 @@ export namespace PaymentIntentConfirmParams { setup_future_usage?: 'none'; } + export interface Sezzle { + /** + * 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 Shopeepay { /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. @@ -34148,6 +34603,10 @@ export namespace PaymentIntentConfirmParams { } } + export namespace Carecredit { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace Cashapp { export type SetupFutureUsage = | 'none' @@ -34267,6 +34726,10 @@ export namespace PaymentIntentConfirmParams { } } + export namespace Getflex { + export type SetupFutureUsage = 'none' | 'off_session' | OtherString; + } + export namespace GiftCard { export type RequestPartialAuthorization = | 'if_available' diff --git a/src/resources/PaymentMethods.ts b/src/resources/PaymentMethods.ts index 99670fcc81..17e1d1b452 100644 --- a/src/resources/PaymentMethods.ts +++ b/src/resources/PaymentMethods.ts @@ -201,6 +201,8 @@ export interface PaymentMethod { card_present?: PaymentMethod.CardPresent; + carecredit?: PaymentMethod.Carecredit; + cashapp?: PaymentMethod.Cashapp; /** @@ -225,6 +227,8 @@ export interface PaymentMethod { fpx?: PaymentMethod.Fpx; + getflex?: PaymentMethod.Getflex; + gift_card?: PaymentMethod.GiftCard; giropay?: PaymentMethod.Giropay; @@ -301,6 +305,8 @@ export interface PaymentMethod { */ radar_options?: PaymentMethod.RadarOptions; + rakuten_pay?: PaymentMethod.RakutenPay; + rechnung?: PaymentMethod.Rechnung; /** @@ -320,6 +326,8 @@ export interface PaymentMethod { sequra?: PaymentMethod.Sequra; + sezzle?: PaymentMethod.Sezzle; + /** * ID of the shared payment granted token used in the creation of this PaymentMethod. */ @@ -666,6 +674,8 @@ export namespace PaymentMethod { wallet?: CardPresent.Wallet; } + export interface Carecredit {} + export interface Cashapp { /** * A unique and immutable identifier assigned by Cash App to every buyer. @@ -728,6 +738,8 @@ export namespace PaymentMethod { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The brand of the gift card. @@ -1024,6 +1036,8 @@ export namespace PaymentMethod { session?: string; } + export interface RakutenPay {} + export interface Rechnung { dob?: Rechnung.Dob; } @@ -1077,6 +1091,8 @@ export namespace PaymentMethod { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -1117,12 +1133,14 @@ export namespace PaymentMethod { | 'boleto' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -1151,6 +1169,7 @@ export namespace PaymentMethod { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -1158,6 +1177,7 @@ export namespace PaymentMethod { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -2159,6 +2179,11 @@ export interface PaymentMethodCreateParams { */ card?: PaymentMethodCreateParams.Card; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodCreateParams.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -2199,6 +2224,11 @@ export interface PaymentMethodCreateParams { */ fpx?: PaymentMethodCreateParams.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodCreateParams.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -2354,6 +2384,11 @@ export interface PaymentMethodCreateParams { */ radar_options?: PaymentMethodCreateParams.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodCreateParams.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -2389,6 +2424,11 @@ export interface PaymentMethodCreateParams { */ sequra?: PaymentMethodCreateParams.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodCreateParams.Sezzle; + /** * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. */ @@ -2586,6 +2626,8 @@ export namespace PaymentMethodCreateParams { token?: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -2618,6 +2660,8 @@ export namespace PaymentMethodCreateParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -2753,6 +2797,8 @@ export namespace PaymentMethodCreateParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -2777,6 +2823,8 @@ export namespace PaymentMethodCreateParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -2816,12 +2864,14 @@ export namespace PaymentMethodCreateParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -2849,6 +2899,7 @@ export namespace PaymentMethodCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -2856,6 +2907,7 @@ export namespace PaymentMethodCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -3320,12 +3372,14 @@ export namespace PaymentMethodListParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -3353,6 +3407,7 @@ export namespace PaymentMethodListParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -3360,6 +3415,7 @@ export namespace PaymentMethodListParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' diff --git a/src/resources/PaymentRecords.ts b/src/resources/PaymentRecords.ts index 6cd67745e9..5135b92603 100644 --- a/src/resources/PaymentRecords.ts +++ b/src/resources/PaymentRecords.ts @@ -460,6 +460,8 @@ export namespace PaymentRecord { card_present?: PaymentMethodDetails.CardPresent; + carecredit?: PaymentMethodDetails.Carecredit; + cashapp?: PaymentMethodDetails.Cashapp; crypto?: PaymentMethodDetails.Crypto; @@ -477,6 +479,8 @@ export namespace PaymentRecord { fpx?: PaymentMethodDetails.Fpx; + getflex?: PaymentMethodDetails.Getflex; + gift_card?: PaymentMethodDetails.GiftCard; giropay?: PaymentMethodDetails.Giropay; @@ -540,6 +544,8 @@ export namespace PaymentRecord { qris?: PaymentMethodDetails.Qris; + rakuten_pay?: PaymentMethodDetails.RakutenPay; + rechnung?: PaymentMethodDetails.Rechnung; revolut_pay?: PaymentMethodDetails.RevolutPay; @@ -556,6 +562,8 @@ export namespace PaymentRecord { sequra?: PaymentMethodDetails.Sequra; + sezzle?: PaymentMethodDetails.Sezzle; + shopeepay?: PaymentMethodDetails.Shopeepay; sofort?: PaymentMethodDetails.Sofort; @@ -1217,6 +1225,8 @@ export namespace PaymentRecord { wallet?: CardPresent.Wallet; } + export interface Carecredit {} + export interface Cashapp { /** * A unique and immutable identifier assigned by Cash App to every buyer. @@ -1309,6 +1319,8 @@ export namespace PaymentRecord { transaction_id: string | null; } + export interface Getflex {} + export interface GiftCard { /** * The balance of the gift card after the transaction. @@ -1882,6 +1894,8 @@ export namespace PaymentRecord { export interface Qris {} + export interface RakutenPay {} + export interface Rechnung { /** * Payment portal URL. @@ -1985,6 +1999,8 @@ export namespace PaymentRecord { transaction_id: string | null; } + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { diff --git a/src/resources/SetupIntents.ts b/src/resources/SetupIntents.ts index 45f8103816..4529cd9b53 100644 --- a/src/resources/SetupIntents.ts +++ b/src/resources/SetupIntents.ts @@ -330,6 +330,7 @@ export namespace SetupIntent { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -344,6 +345,7 @@ export namespace SetupIntent { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -386,6 +388,7 @@ export namespace SetupIntent { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -393,6 +396,7 @@ export namespace SetupIntent { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -449,11 +453,13 @@ export namespace SetupIntent { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -480,6 +486,7 @@ export namespace SetupIntent { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -487,6 +494,7 @@ export namespace SetupIntent { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -1818,6 +1826,7 @@ export namespace SetupIntentCreateParams { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -1832,6 +1841,7 @@ export namespace SetupIntentCreateParams { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -1874,6 +1884,7 @@ export namespace SetupIntentCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -1881,6 +1892,7 @@ export namespace SetupIntentCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -1931,11 +1943,13 @@ export namespace SetupIntentCreateParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -1962,6 +1976,7 @@ export namespace SetupIntentCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -1969,6 +1984,7 @@ export namespace SetupIntentCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -2068,6 +2084,11 @@ export namespace SetupIntentCreateParams { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -2093,6 +2114,11 @@ export namespace SetupIntentCreateParams { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -2243,6 +2269,11 @@ export namespace SetupIntentCreateParams { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -2278,6 +2309,11 @@ export namespace SetupIntentCreateParams { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -2603,6 +2639,8 @@ export namespace SetupIntentCreateParams { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -2628,6 +2666,8 @@ export namespace SetupIntentCreateParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -2763,6 +2803,8 @@ export namespace SetupIntentCreateParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -2787,6 +2829,8 @@ export namespace SetupIntentCreateParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -2825,11 +2869,13 @@ export namespace SetupIntentCreateParams { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -2857,6 +2903,7 @@ export namespace SetupIntentCreateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -2864,6 +2911,7 @@ export namespace SetupIntentCreateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -4153,6 +4201,7 @@ export namespace SetupIntentUpdateParams { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -4167,6 +4216,7 @@ export namespace SetupIntentUpdateParams { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -4209,6 +4259,7 @@ export namespace SetupIntentUpdateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -4216,6 +4267,7 @@ export namespace SetupIntentUpdateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -4252,11 +4304,13 @@ export namespace SetupIntentUpdateParams { | 'blik' | 'boleto' | 'card' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -4283,6 +4337,7 @@ export namespace SetupIntentUpdateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -4290,6 +4345,7 @@ export namespace SetupIntentUpdateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -4382,6 +4438,11 @@ export namespace SetupIntentUpdateParams { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -4407,6 +4468,11 @@ export namespace SetupIntentUpdateParams { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -4557,6 +4623,11 @@ export namespace SetupIntentUpdateParams { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -4592,6 +4663,11 @@ export namespace SetupIntentUpdateParams { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -4857,6 +4933,8 @@ export namespace SetupIntentUpdateParams { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -4882,6 +4960,8 @@ export namespace SetupIntentUpdateParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -5017,6 +5097,8 @@ export namespace SetupIntentUpdateParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -5041,6 +5123,8 @@ export namespace SetupIntentUpdateParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -5079,11 +5163,13 @@ export namespace SetupIntentUpdateParams { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -5111,6 +5197,7 @@ export namespace SetupIntentUpdateParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -5118,6 +5205,7 @@ export namespace SetupIntentUpdateParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' @@ -6418,6 +6506,7 @@ export namespace SetupIntentConfirmParams { | 'capchase_pay' | 'card' | 'card_present' + | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' @@ -6432,6 +6521,7 @@ export namespace SetupIntentConfirmParams { | 'fpx' | 'gcash' | 'getbalance' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -6474,6 +6564,7 @@ export namespace SetupIntentConfirmParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -6481,6 +6572,7 @@ export namespace SetupIntentConfirmParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' @@ -6585,6 +6677,11 @@ export namespace SetupIntentConfirmParams { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -6610,6 +6707,11 @@ export namespace SetupIntentConfirmParams { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -6760,6 +6862,11 @@ export namespace SetupIntentConfirmParams { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -6795,6 +6902,11 @@ export namespace SetupIntentConfirmParams { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -7102,6 +7214,8 @@ export namespace SetupIntentConfirmParams { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -7127,6 +7241,8 @@ export namespace SetupIntentConfirmParams { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -7262,6 +7378,8 @@ export namespace SetupIntentConfirmParams { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -7286,6 +7404,8 @@ export namespace SetupIntentConfirmParams { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -7324,11 +7444,13 @@ export namespace SetupIntentConfirmParams { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -7356,6 +7478,7 @@ export namespace SetupIntentConfirmParams { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -7363,6 +7486,7 @@ export namespace SetupIntentConfirmParams { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' diff --git a/src/resources/Subscriptions.ts b/src/resources/Subscriptions.ts index 4999418994..627f40c249 100644 --- a/src/resources/Subscriptions.ts +++ b/src/resources/Subscriptions.ts @@ -39,7 +39,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 false. + * Pending invoice items are included on a final invoice if you generate one. Otherwise, they remain pending and can be billed on another invoice for the customer. To prevent billing, manually [delete](https://docs.stripe.com/api/invoiceitems/delete) them. 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. */ @@ -4695,7 +4695,7 @@ export interface SubscriptionUpdateParams { days_until_due?: number; /** - * ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source). + * ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source). For subscriptions created by Checkout Sessions with Managed Payments enabled, you can't update this field directly through the API. Customers can update it through the Customer Portal. */ default_payment_method?: string; diff --git a/src/resources/Terminal/Readers.ts b/src/resources/Terminal/Readers.ts index 26158bf8e0..3a98d3e901 100644 --- a/src/resources/Terminal/Readers.ts +++ b/src/resources/Terminal/Readers.ts @@ -376,6 +376,7 @@ export namespace DeletedReader { | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' + | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' @@ -384,6 +385,7 @@ export namespace DeletedReader { | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' + | 'stripe_t600' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' @@ -1540,6 +1542,7 @@ export namespace Terminal { | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' + | 'simulated_stripe_t600' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' @@ -1548,6 +1551,7 @@ export namespace Terminal { | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' + | 'stripe_t600' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' diff --git a/src/resources/TestHelpers/ConfirmationTokens.ts b/src/resources/TestHelpers/ConfirmationTokens.ts index 0e17a00a5a..c167998083 100644 --- a/src/resources/TestHelpers/ConfirmationTokens.ts +++ b/src/resources/TestHelpers/ConfirmationTokens.ts @@ -143,6 +143,11 @@ export namespace TestHelpers { */ boleto?: PaymentMethodData.Boleto; + /** + * If this is a `carecredit` PaymentMethod, this hash contains details about the CareCredit payment method. + */ + carecredit?: PaymentMethodData.Carecredit; + /** * If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. */ @@ -168,6 +173,11 @@ export namespace TestHelpers { */ fpx?: PaymentMethodData.Fpx; + /** + * If this is a `getflex` PaymentMethod, this hash contains details about the GetFlex payment method. + */ + getflex?: PaymentMethodData.Getflex; + /** * If this is a `gift_card` PaymentMethod, this hash contains details about the gift card payment method. */ @@ -318,6 +328,11 @@ export namespace TestHelpers { */ radar_options?: PaymentMethodData.RadarOptions; + /** + * If this is a `rakuten_pay` PaymentMethod, this hash contains details about the Rakuten Pay payment method. + */ + rakuten_pay?: PaymentMethodData.RakutenPay; + /** * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. */ @@ -353,6 +368,11 @@ export namespace TestHelpers { */ sequra?: PaymentMethodData.Sequra; + /** + * If this is a `sezzle` PaymentMethod, this hash contains details about the Sezzle payment method. + */ + sezzle?: PaymentMethodData.Sezzle; + /** * ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent. */ @@ -550,6 +570,8 @@ export namespace TestHelpers { tax_id: string; } + export interface Carecredit {} + export interface Cashapp {} export interface Crypto {} @@ -575,6 +597,8 @@ export namespace TestHelpers { bank: Fpx.Bank; } + export interface Getflex {} + export interface GiftCard { /** * The gift card ID to redeem @@ -710,6 +734,8 @@ export namespace TestHelpers { session?: string; } + export interface RakutenPay {} + export interface Rechnung { /** * Customer's date of birth @@ -734,6 +760,8 @@ export namespace TestHelpers { export interface Sequra {} + export interface Sezzle {} + export interface Shopeepay {} export interface Sofort { @@ -772,11 +800,13 @@ export namespace TestHelpers { | 'bizum' | 'blik' | 'boleto' + | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' + | 'getflex' | 'gift_card' | 'giropay' | 'gopay' @@ -804,6 +834,7 @@ export namespace TestHelpers { | 'pix' | 'promptpay' | 'qris' + | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' @@ -811,6 +842,7 @@ export namespace TestHelpers { | 'scalapay' | 'sepa_debit' | 'sequra' + | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' diff --git a/src/resources/TestHelpers/SharedPayment/GrantedTokens.ts b/src/resources/TestHelpers/SharedPayment/GrantedTokens.ts index 4b694ca09e..8ab4bb2f2e 100644 --- a/src/resources/TestHelpers/SharedPayment/GrantedTokens.ts +++ b/src/resources/TestHelpers/SharedPayment/GrantedTokens.ts @@ -7,7 +7,7 @@ import {RequestOptions, Response} from '../../../lib.js'; export class GrantedTokenResource extends StripeResource { /** - * Creates a new test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to create SharedPaymentGrantedTokens for testing their integration + * Creates a new test SharedPaymentGrantedToken object. This test helper allows sellers to create SharedPaymentGrantedTokens for testing their integration. */ create( params: TestHelpers.SharedPayment.GrantedTokenCreateParams, @@ -21,7 +21,7 @@ export class GrantedTokenResource extends StripeResource { ) as any; } /** - * Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration + * Revokes a test SharedPaymentGrantedToken object. This test helper allows sellers to revoke SharedPaymentGrantedTokens for testing their integration. */ revoke( id: string, diff --git a/src/resources/V2/Core/AccountEvaluations.ts b/src/resources/V2/Core/AccountEvaluations.ts index 75dea54ef4..bc18845424 100644 --- a/src/resources/V2/Core/AccountEvaluations.ts +++ b/src/resources/V2/Core/AccountEvaluations.ts @@ -58,6 +58,11 @@ export interface AccountEvaluation { } export namespace AccountEvaluation { export interface AccountData { + /** + * The account's contact email. + */ + contact_email?: string; + /** * Default account settings. */ @@ -72,6 +77,7 @@ export namespace AccountEvaluation { export type EvaluationsTriggered = | 'fraudulent_website' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; @@ -142,10 +148,16 @@ export namespace V2 { export type Signal = | 'fraudulent_website' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; export interface AccountData { + /** + * The account's contact email. + */ + contact_email?: string; + /** * Default account settings. */ diff --git a/src/resources/V2/Core/AccountPersons.ts b/src/resources/V2/Core/AccountPersons.ts index ea1b979580..9dba5d01c9 100644 --- a/src/resources/V2/Core/AccountPersons.ts +++ b/src/resources/V2/Core/AccountPersons.ts @@ -153,7 +153,7 @@ export namespace AccountPerson { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -353,6 +353,10 @@ export namespace AccountPerson { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } diff --git a/src/resources/V2/Core/AccountTokens.ts b/src/resources/V2/Core/AccountTokens.ts index f48ea45703..19bf250ed1 100644 --- a/src/resources/V2/Core/AccountTokens.ts +++ b/src/resources/V2/Core/AccountTokens.ts @@ -1365,7 +1365,7 @@ export namespace V2 { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -1548,6 +1548,10 @@ export namespace V2 { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } diff --git a/src/resources/V2/Core/Accounts.ts b/src/resources/V2/Core/Accounts.ts index e7f65191ec..86ec089173 100644 --- a/src/resources/V2/Core/Accounts.ts +++ b/src/resources/V2/Core/Accounts.ts @@ -35787,7 +35787,7 @@ export namespace Account { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -35987,6 +35987,10 @@ export namespace Account { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } @@ -45485,7 +45489,7 @@ export namespace V2 { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -45668,6 +45672,10 @@ export namespace V2 { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } @@ -54833,7 +54841,7 @@ export namespace V2 { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -55016,6 +55024,10 @@ export namespace V2 { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } @@ -55353,7 +55365,9 @@ export namespace V2 { limit?: number; /** - * Filter by the network object related to the account. If omitted, returns all Accounts regardless of the network object they have. + * The ID of a [Business Profile](https://docs.stripe.com/api/v2/network/business-profiles) to filter Accounts by. + * A Business Profile represents a business's public identity on the Stripe network. + * Returns only Accounts associated with that profile. If omitted, no profile filter is applied. */ related_network_object?: string; } diff --git a/src/resources/V2/Core/Accounts/PersonTokens.ts b/src/resources/V2/Core/Accounts/PersonTokens.ts index 6364efcfbc..c0050929ca 100644 --- a/src/resources/V2/Core/Accounts/PersonTokens.ts +++ b/src/resources/V2/Core/Accounts/PersonTokens.ts @@ -184,7 +184,7 @@ export namespace V2 { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -389,6 +389,10 @@ export namespace V2 { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } diff --git a/src/resources/V2/Core/Accounts/Persons.ts b/src/resources/V2/Core/Accounts/Persons.ts index 268d446783..17308c6c5d 100644 --- a/src/resources/V2/Core/Accounts/Persons.ts +++ b/src/resources/V2/Core/Accounts/Persons.ts @@ -303,7 +303,7 @@ export namespace V2 { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -508,6 +508,10 @@ export namespace V2 { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } @@ -981,7 +985,7 @@ export namespace V2 { /** * Purpose of additional address. */ - purpose: 'registered'; + purpose: AdditionalAddress.Purpose; /** * State, county, province, or region. @@ -1186,6 +1190,10 @@ export namespace V2 { kanji?: ScriptNames.Kanji; } + export namespace AdditionalAddress { + export type Purpose = 'birthplace' | 'registered'; + } + export namespace AdditionalName { export type Purpose = 'alias' | 'maiden'; } diff --git a/src/resources/V2/Core/Events.ts b/src/resources/V2/Core/Events.ts index 7a5c2a48c4..2f9d9678d2 100644 --- a/src/resources/V2/Core/Events.ts +++ b/src/resources/V2/Core/Events.ts @@ -772,7 +772,6 @@ export type Event = | V2PaymentsOffSessionPaymentCreatedEvent | V2PaymentsOffSessionPaymentFailedEvent | V2PaymentsOffSessionPaymentPausedEvent - | V2PaymentsOffSessionPaymentRequiresCaptureEvent | V2PaymentsOffSessionPaymentResumedEvent | V2PaymentsOffSessionPaymentSucceededEvent | V2PaymentsSettlementAllocationIntentCanceledEvent @@ -1249,7 +1248,6 @@ export type EventNotification = | V2PaymentsOffSessionPaymentCreatedEventNotification | V2PaymentsOffSessionPaymentFailedEventNotification | V2PaymentsOffSessionPaymentPausedEventNotification - | V2PaymentsOffSessionPaymentRequiresCaptureEventNotification | V2PaymentsOffSessionPaymentResumedEventNotification | V2PaymentsOffSessionPaymentSucceededEventNotification | V2PaymentsSettlementAllocationIntentCanceledEventNotification @@ -13447,27 +13445,6 @@ export interface V2PaymentsOffSessionPaymentPausedEventNotification fetchEvent(): Promise; } -/** - * Deprecated. Sent when the off-session payment becomes available for capture. - */ -export interface V2PaymentsOffSessionPaymentRequiresCaptureEvent - extends EventBase { - type: 'v2.payments.off_session_payment.requires_capture'; - // Object containing the reference to API resource relevant to the event. - related_object: V2.Core.Events.RelatedObject; - // Retrieves the object associated with the event. - fetchRelatedObject(): Promise; -} -export interface V2PaymentsOffSessionPaymentRequiresCaptureEventNotification - extends EventNotificationBase { - type: 'v2.payments.off_session_payment.requires_capture'; - // Object containing the reference to API resource relevant to the event. - related_object: V2.Core.Events.RelatedObject; - // Retrieves the object associated with the event. - fetchRelatedObject(): Promise; - fetchEvent(): Promise; -} - /** * Sent immediately following a user's call to the Off-Session Payments resume endpoint. */ @@ -14482,7 +14459,6 @@ export declare namespace Events { V2PaymentsOffSessionPaymentCreatedEvent, V2PaymentsOffSessionPaymentFailedEvent, V2PaymentsOffSessionPaymentPausedEvent, - V2PaymentsOffSessionPaymentRequiresCaptureEvent, V2PaymentsOffSessionPaymentResumedEvent, V2PaymentsOffSessionPaymentSucceededEvent, V2PaymentsSettlementAllocationIntentCanceledEvent, @@ -14957,7 +14933,6 @@ export declare namespace Events { V2PaymentsOffSessionPaymentCreatedEventNotification, V2PaymentsOffSessionPaymentFailedEventNotification, V2PaymentsOffSessionPaymentPausedEventNotification, - V2PaymentsOffSessionPaymentRequiresCaptureEventNotification, V2PaymentsOffSessionPaymentResumedEventNotification, V2PaymentsOffSessionPaymentSucceededEventNotification, V2PaymentsSettlementAllocationIntentCanceledEventNotification, diff --git a/src/resources/V2/Core/Vault/GbBankAccounts.ts b/src/resources/V2/Core/Vault/GbBankAccounts.ts index 64239d72da..b757965361 100644 --- a/src/resources/V2/Core/Vault/GbBankAccounts.ts +++ b/src/resources/V2/Core/Vault/GbBankAccounts.ts @@ -55,26 +55,6 @@ export class GbBankAccountResource extends StripeResource { options ) as any; } - /** - * Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with - * proceeding to pay out to this bank account despite the account not matching, partially matching, or the service - * being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to - * funds being sent to the wrong account, which we might not be able to recover. - */ - acknowledgeConfirmationOfPayee( - id: string, - params?: V2.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams, - options?: RequestOptions - ): Promise> { - return this._makeRequest( - 'POST', - `/v2/core/vault/gb_bank_accounts/${encodeURIComponent( - id - )}/acknowledge_confirmation_of_payee`, - params, - options - ) as any; - } /** * Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations * and will not appear in the outbound destination list. @@ -93,26 +73,6 @@ export class GbBankAccountResource extends StripeResource { options ) as any; } - /** - * Initiate Confirmation of Payee (CoP) in order to verify that the owner of a UK bank account matches - * who you expect. This must be done on all UK bank accounts before sending domestic OutboundPayments. If - * the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee - * is required before sending funds. - */ - initiateConfirmationOfPayee( - id: string, - params?: V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams, - options?: RequestOptions - ): Promise> { - return this._makeRequest( - 'POST', - `/v2/core/vault/gb_bank_accounts/${encodeURIComponent( - id - )}/initiate_confirmation_of_payee`, - params, - options - ) as any; - } } export interface GbBankAccount { /** @@ -373,13 +333,6 @@ export namespace V2 { } } } -export namespace V2 { - export namespace Core { - export namespace Vault { - export interface GbBankAccountAcknowledgeConfirmationOfPayeeParams {} - } - } -} export namespace V2 { export namespace Core { export namespace Vault { @@ -387,24 +340,3 @@ export namespace V2 { } } } -export namespace V2 { - export namespace Core { - export namespace Vault { - export interface GbBankAccountInitiateConfirmationOfPayeeParams { - /** - * The business type to be checked against. Legal entity information will be used if unspecified. - */ - business_type?: GbBankAccountInitiateConfirmationOfPayeeParams.BusinessType; - - /** - * The name of the user to be checked against. Legal entity information will be used if unspecified. - */ - name?: string; - } - - export namespace GbBankAccountInitiateConfirmationOfPayeeParams { - export type BusinessType = 'business' | 'personal'; - } - } - } -} diff --git a/src/resources/V2/Core/Vault/index.ts b/src/resources/V2/Core/Vault/index.ts index 0ce9bab910..7aa94472ee 100644 --- a/src/resources/V2/Core/Vault/index.ts +++ b/src/resources/V2/Core/Vault/index.ts @@ -37,9 +37,7 @@ export declare namespace Vault { export import GbBankAccountListParams = V2Namespace0.Core.Vault.GbBankAccountListParams; export import GbBankAccountCreateParams = V2Namespace0.Core.Vault.GbBankAccountCreateParams; export import GbBankAccountRetrieveParams = V2Namespace0.Core.Vault.GbBankAccountRetrieveParams; - export import GbBankAccountAcknowledgeConfirmationOfPayeeParams = V2Namespace0.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams; export import GbBankAccountArchiveParams = V2Namespace0.Core.Vault.GbBankAccountArchiveParams; - export import GbBankAccountInitiateConfirmationOfPayeeParams = V2Namespace0.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams; export {GbBankAccount, GbBankAccountResource}; export import NetworkTokenCreateParams = V2Namespace1.Core.Vault.NetworkTokenCreateParams; export import NetworkTokenCreateFromCredentialParams = V2Namespace1.Core.Vault.NetworkTokenCreateFromCredentialParams; diff --git a/src/resources/V2/MoneyManagement/FinancialAccounts.ts b/src/resources/V2/MoneyManagement/FinancialAccounts.ts index 623dac080e..1a515c9647 100644 --- a/src/resources/V2/MoneyManagement/FinancialAccounts.ts +++ b/src/resources/V2/MoneyManagement/FinancialAccounts.ts @@ -22,7 +22,7 @@ export class FinancialAccountResource extends StripeResource { this.walletExport = new WalletExportResource(stripe); } /** - * Lists FinancialAccounts in this compartment. + * Lists FinancialAccounts in this account. */ list( params?: V2.MoneyManagement.FinancialAccountListParams, diff --git a/src/resources/V2/MoneyManagement/FinancialAddresses.ts b/src/resources/V2/MoneyManagement/FinancialAddresses.ts index d182ad8c97..fc49a76dc3 100644 --- a/src/resources/V2/MoneyManagement/FinancialAddresses.ts +++ b/src/resources/V2/MoneyManagement/FinancialAddresses.ts @@ -111,6 +111,11 @@ export namespace FinancialAddress { */ aba?: BankAccount.Aba; + /** + * BRE-B bank account details (Colombia). + */ + bre_b?: BankAccount.BreB; + clabe?: BankAccount.Clabe; /** @@ -130,6 +135,16 @@ export namespace FinancialAddress { */ iban?: BankAccount.Iban; + /** + * NIP bank account details (Nigeria). + */ + nip?: BankAccount.Nip; + + /** + * Pix bank account details (Brazil). + */ + pix?: BankAccount.Pix; + /** * Sort code bank account details (UK). */ @@ -198,6 +213,18 @@ export namespace FinancialAddress { routing_number: string; } + export interface BreB { + /** + * The name of the account holder. + */ + account_holder_name: string; + + /** + * The BRE-B payment key. + */ + bre_b_key: string; + } + export interface Clabe { account_holder_name: string; @@ -252,6 +279,40 @@ export namespace FinancialAddress { last4: string; } + export interface Nip { + /** + * The name of the account holder. + */ + account_holder_name: string; + + /** + * The NIP bank code. + */ + bank_code: string; + + /** + * The name of the bank. + */ + bank_name: string; + + /** + * The NUBAN account number. + */ + nuban: string; + } + + export interface Pix { + /** + * The name of the account holder. + */ + account_holder_name: string; + + /** + * The Pix BR code. + */ + br_code: string; + } + export interface SortCode { /** * The name of the account holder. @@ -323,6 +384,7 @@ export namespace FinancialAddress { export type SupportedTokenCurrency = | 'btc' | 'eth' + | 'ousd' | 'sol' | 'usdc' | 'usdt' diff --git a/src/resources/V2/MoneyManagement/ReceivedCredits.ts b/src/resources/V2/MoneyManagement/ReceivedCredits.ts index 06a812c1d6..8152598737 100644 --- a/src/resources/V2/MoneyManagement/ReceivedCredits.ts +++ b/src/resources/V2/MoneyManagement/ReceivedCredits.ts @@ -471,6 +471,11 @@ export namespace ReceivedCredit { */ aba?: OriginatingBankAccount.Aba; + /** + * Hash containing the transaction bank details. Present if `type` field value is `bre_b`. + */ + bre_b?: OriginatingBankAccount.BreB; + /** * Hash containing the transaction bank details. Present if `type` field value is `clabe`. */ @@ -486,6 +491,16 @@ export namespace ReceivedCredit { */ iban?: OriginatingBankAccount.Iban; + /** + * Hash containing the transaction bank details. Present if `type` field value is `nip`. + */ + nip?: OriginatingBankAccount.Nip; + + /** + * Hash containing the transaction bank details. Present if `type` field value is `pix`. + */ + pix?: OriginatingBankAccount.Pix; + /** * Hash containing the transaction bank details. Present if `type` field value is `sort_code`. */ @@ -662,6 +677,23 @@ export namespace ReceivedCredit { routing_number?: string; } + export interface BreB { + /** + * The name of the account holder that sent the payment. + */ + account_holder_name?: string; + + /** + * The last 4 digits of the account number that originated the transfer. + */ + last4?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: BreB.Network; + } + export interface Clabe { /** * The name of the account holder that sent the payment. @@ -748,6 +780,55 @@ export namespace ReceivedCredit { network: Iban.Network; } + export interface Nip { + /** + * The name of the account holder that sent the payment. + */ + account_holder_name?: string; + + /** + * The Nigerian bank code of the bank that originated the transfer. + */ + bank_code?: string; + + /** + * The name of the bank that originated the transfer. + */ + bank_name?: string; + + /** + * The last 4 digits of the account number that originated the transfer. + */ + last4?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: Nip.Network; + } + + export interface Pix { + /** + * The name of the account holder that sent the payment. + */ + account_holder_name?: string; + + /** + * The bank name the transfer was received from. + */ + bank_name?: string; + + /** + * The Pix BR code of the account that originated the transfer. + */ + br_code?: string; + + /** + * Open Enum. The money transmission network used to send funds for this ReceivedCredit. + */ + network: Pix.Network; + } + export interface SortCode { /** * The account holder name of the bank account the transfer was received from. @@ -782,9 +863,12 @@ export namespace ReceivedCredit { export type Type = | 'aba' + | 'bre_b' | 'clabe' | 'cpa' | 'iban' + | 'nip' + | 'pix' | 'sort_code' | OtherString; @@ -797,6 +881,10 @@ export namespace ReceivedCredit { | OtherString; } + export namespace BreB { + export type Network = 'bre_b' | OtherString; + } + export namespace Clabe { export type Network = 'spei' | OtherString; } @@ -809,6 +897,14 @@ export namespace ReceivedCredit { export type Network = 'sepa_credit_transfer' | 'swift' | OtherString; } + export namespace Nip { + export type Network = 'nip' | OtherString; + } + + export namespace Pix { + export type Network = 'pix' | OtherString; + } + export namespace SortCode { export type Network = 'chaps' | 'fps' | 'swift' | OtherString; } diff --git a/src/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.ts b/src/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.ts index 93dcf059f4..74beed8ab5 100644 --- a/src/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.ts +++ b/src/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.ts @@ -87,8 +87,10 @@ export namespace V2 { export type Network = | 'ach' | 'acss' + | 'bre_b' | 'chaps' | 'fps' + | 'pix' | 'rtp' | 'sepa_credit_transfer' | 'swift' diff --git a/src/resources/V2/Payments/OffSessionPayments.ts b/src/resources/V2/Payments/OffSessionPayments.ts index d6d23b29a8..74a9be94a2 100644 --- a/src/resources/V2/Payments/OffSessionPayments.ts +++ b/src/resources/V2/Payments/OffSessionPayments.ts @@ -72,21 +72,6 @@ export class OffSessionPaymentResource extends StripeResource { options ) as any; } - /** - * Deprecated. Captures an OffSessionPayment that has previously been created. - */ - capture( - id: string, - params?: V2.Payments.OffSessionPaymentCaptureParams, - options?: RequestOptions - ): Promise> { - return this._makeRequest( - 'POST', - `/v2/payments/off_session_payments/${encodeURIComponent(id)}/capture`, - params, - options - ) as any; - } /** * Pauses an OffSessionPayment that has previously been created. */ @@ -129,11 +114,6 @@ export interface OffSessionPayment { */ object: 'v2.payments.off_session_payment'; - /** - * The amount available to be captured. - */ - amount_capturable?: V2Amount; - /** * Provides industry-specific information about the amount. */ @@ -159,11 +139,6 @@ export interface OffSessionPayment { */ cadence: OffSessionPayment.Cadence; - /** - * Details about the capture configuration for the OffSessionPayment. - */ - capture?: OffSessionPayment.Capture; - /** * Creation time of the OffSessionPayment. Represented as a RFC 3339 date & time UTC * value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. @@ -310,18 +285,6 @@ export namespace OffSessionPayment { export type Cadence = 'recurring' | 'unscheduled' | OtherString; - export interface Capture { - /** - * The timestamp when this payment is no longer eligible to be captured. - */ - capture_before?: string; - - /** - * The method to use to capture the payment. - */ - capture_method: Capture.CaptureMethod; - } - export type FailureReason = | 'authorization_expired' | 'exceeded_retry_window' @@ -505,10 +468,6 @@ export namespace OffSessionPayment { } } - export namespace Capture { - export type CaptureMethod = 'automatic' | 'manual' | OtherString; - } - export namespace LatestPaymentAttemptRecordDetails { export interface FailureDetails { /** @@ -608,11 +567,6 @@ export namespace V2 { */ application_fee_amount?: V2Amount; - /** - * Deprecated. Details about the capture configuration for the OffSessionPayment. - */ - capture?: OffSessionPaymentCreateParams.Capture; - /** * An arbitrary string attached to the object. Often useful for displaying to users. */ @@ -729,13 +683,6 @@ export namespace V2 { tax?: AmountDetails.Tax; } - export interface Capture { - /** - * The method to use to capture the payment. - */ - capture_method: Capture.CaptureMethod; - } - export interface PaymentDetails { /** * A unique value to identify the customer. This field is applicable only for card payments. For card payments, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. @@ -884,10 +831,6 @@ export namespace V2 { } } - export namespace Capture { - export type CaptureMethod = 'automatic' | 'manual' | OtherString; - } - export namespace PaymentMethodData { export interface BillingDetails { /** @@ -1010,189 +953,6 @@ export namespace V2 { export interface OffSessionPaymentCancelParams {} } } -export namespace V2 { - export namespace Payments { - export interface OffSessionPaymentCaptureParams { - /** - * Provides industry-specific information about the amount. - */ - amount_details?: OffSessionPaymentCaptureParams.AmountDetails; - - /** - * The amount to capture. - */ - amount_to_capture?: number; - - /** - * The amount of the application fee for this capture. - */ - application_fee_amount?: V2Amount; - - /** - * 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. Learn more about - * [storing information in metadata](https://docs.stripe.com/payments/payment-intents#storing-information-in-metadata). - */ - metadata?: MetadataParam; - - /** - * Provides industry-specific information about the payment. - */ - payment_details?: OffSessionPaymentCaptureParams.PaymentDetails; - - /** - * Text that appears on the customer's statement as the statement descriptor for a - * non-card charge. This value overrides the account's default statement descriptor. - * For information about requirements, including the 22-character limit, see the - * [Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). - */ - statement_descriptor?: string; - - /** - * Provides information about a card charge. Concatenated to the account's - * [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) - * to form the complete statement descriptor that appears on the customer's statement. - */ - statement_descriptor_suffix?: string; - - /** - * The data that automatically creates a Transfer after the payment finalizes. Learn more about the use case for [connected accounts](https://docs.stripe.com/payments/connected-accounts). - */ - transfer_data?: OffSessionPaymentCaptureParams.TransferData; - } - - export namespace OffSessionPaymentCaptureParams { - export interface AmountDetails { - /** - * The amount the total transaction was discounted for. - */ - discount_amount?: number; - - /** - * Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data. - * Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies. - * For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error. - */ - enforce_arithmetic_validation?: boolean; - - /** - * A list of line items, each containing information about a product in the OffSessionPayment. There is a maximum of 10 line items. - */ - line_items?: Array; - - /** - * Contains information about the shipping portion of the amount. - */ - shipping?: AmountDetails.Shipping; - - /** - * Contains information about the tax portion of the amount. - */ - tax?: AmountDetails.Tax; - } - - export interface PaymentDetails { - /** - * A unique value to identify the customer. This field is applicable only for card payments. For card payments, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. - */ - customer_reference?: string; - - /** - * A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. - * For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. - */ - order_reference?: string; - } - - export interface TransferData { - /** - * The amount transferred to the destination account. This transfer will occur - * automatically after the payment succeeds. If no amount is specified, by default - * the entire payment amount is transferred to the destination account. The amount - * must be less than or equal to the - * [amount_requested](https://docs.stripe.com/api/v2/off-session-payments/object?api-version=2025-05-28.preview#v2_off_session_payment_object-amount_requested), - * and must be a positive integer representing how much to transfer in the smallest - * currency unit (e.g., 100 cents to charge $1.00). - */ - amount?: number; - } - - export namespace AmountDetails { - export interface LineItem { - /** - * The amount an item was discounted for. Positive integer. - */ - discount_amount?: number; - - /** - * Unique identifier of the product. At most 12 characters long. - */ - product_code?: string; - - /** - * Name of the product. At most 100 characters long. - */ - product_name: string; - - /** - * Number of items of the product. Positive integer. - */ - quantity: number; - - /** - * Contains information about the tax on the item. - */ - tax?: LineItem.Tax; - - /** - * Cost of the product. Positive integer. - */ - unit_cost: number; - - /** - * A unit of measure for the line item, such as gallons, feet, meters, etc. - * The maximum length is 12 characters. - */ - unit_of_measure?: string; - } - - export interface Shipping { - /** - * Portion of the amount that is for shipping. - */ - amount?: number; - - /** - * The postal code that represents the shipping source. - */ - from_postal_code?: string; - - /** - * The postal code that represents the shipping destination. - */ - to_postal_code?: string; - } - - export interface Tax { - /** - * Total portion of the amount that is for tax. - */ - total_tax_amount: number; - } - - export namespace LineItem { - export interface Tax { - /** - * Total portion of the amount that is for tax. - */ - total_tax_amount: number; - } - } - } - } - } -} export namespace V2 { export namespace Payments { export interface OffSessionPaymentPauseParams {} diff --git a/src/resources/V2/Payments/index.ts b/src/resources/V2/Payments/index.ts index 4eed8de964..d0623d5299 100644 --- a/src/resources/V2/Payments/index.ts +++ b/src/resources/V2/Payments/index.ts @@ -34,7 +34,6 @@ export declare namespace Payments { export import OffSessionPaymentCreateParams = V2Namespace0.Payments.OffSessionPaymentCreateParams; export import OffSessionPaymentRetrieveParams = V2Namespace0.Payments.OffSessionPaymentRetrieveParams; export import OffSessionPaymentCancelParams = V2Namespace0.Payments.OffSessionPaymentCancelParams; - export import OffSessionPaymentCaptureParams = V2Namespace0.Payments.OffSessionPaymentCaptureParams; export import OffSessionPaymentPauseParams = V2Namespace0.Payments.OffSessionPaymentPauseParams; export import OffSessionPaymentResumeParams = V2Namespace0.Payments.OffSessionPaymentResumeParams; export {OffSessionPayment, OffSessionPaymentResource}; diff --git a/src/resources/V2/Signals/AccountActivities.ts b/src/resources/V2/Signals/AccountActivities.ts index 22030f137f..046cf83b94 100644 --- a/src/resources/V2/Signals/AccountActivities.ts +++ b/src/resources/V2/Signals/AccountActivities.ts @@ -143,7 +143,7 @@ export namespace AccountActivity { account?: string; /** - * The v1 customer ID of the account, for users not yet migrated to v2/accounts. + * The v1 customer ID of the account, for users not yet migrated to v2 accounts. */ customer?: string; @@ -214,6 +214,11 @@ export namespace AccountActivity { export namespace AccountDetails { export interface Data { + /** + * The account's contact email. + */ + contact_email?: string; + /** * Default account settings. */ @@ -441,7 +446,7 @@ export namespace V2 { account?: string; /** - * The v1 customer ID of the account, for users not yet migrated to v2/accounts. + * The v1 customer ID of the account, for users not yet migrated to v2 accounts. */ customer?: string; @@ -502,6 +507,11 @@ export namespace V2 { export namespace AccountDetails { export interface Data { + /** + * The account's contact email. + */ + contact_email?: string; + /** * Default account settings. */ diff --git a/src/resources/V2/Signals/AccountEvaluations.ts b/src/resources/V2/Signals/AccountEvaluations.ts index 5b8817e87d..54c86e5a7f 100644 --- a/src/resources/V2/Signals/AccountEvaluations.ts +++ b/src/resources/V2/Signals/AccountEvaluations.ts @@ -28,6 +28,10 @@ export class AccountEvaluationResource extends StripeResource { kind: 'object', fields: {score: {kind: 'decimal_string'}}, }, + user_merchant_fit: { + kind: 'object', + fields: {score: {kind: 'decimal_string'}}, + }, user_multi_accounting: { kind: 'object', fields: {score: {kind: 'decimal_string'}}, @@ -63,6 +67,10 @@ export class AccountEvaluationResource extends StripeResource { kind: 'object', fields: {score: {kind: 'decimal_string'}}, }, + user_merchant_fit: { + kind: 'object', + fields: {score: {kind: 'decimal_string'}}, + }, user_multi_accounting: { kind: 'object', fields: {score: {kind: 'decimal_string'}}, @@ -136,7 +144,7 @@ export namespace AccountEvaluation { account?: string; /** - * The v1 customer ID of the account, for users not yet migrated to v2/accounts. + * The v1 customer ID of the account, for users not yet migrated to v2 accounts. */ customer?: string; @@ -157,6 +165,11 @@ export namespace AccountEvaluation { */ user_account_sharing?: EvaluatedSignals.UserAccountSharing; + /** + * User-merchant fit result for the evaluation, when available. + */ + user_merchant_fit?: EvaluatedSignals.UserMerchantFit; + /** * User multi-accounting result for the evaluation, when available. */ @@ -166,17 +179,24 @@ export namespace AccountEvaluation { export type PendingSignal = | 'fraudulent_website' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; export type RequestedSignal = | 'fraudulent_website' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; export namespace AccountDetails { export interface Data { + /** + * The account's contact email. + */ + contact_email?: string; + /** * Default account settings. */ @@ -278,6 +298,28 @@ export namespace AccountEvaluation { signal?: string; } + export interface UserMerchantFit { + /** + * Timestamp at which the signal was evaluated. + */ + evaluated_at?: string; + + /** + * Categorical assessment of the user-merchant fit. + */ + fit_level: UserMerchantFit.FitLevel; + + /** + * The specific fit score for the user, between 0.00 and 100.00. Absent when fit_level is unknown. + */ + score?: Decimal; + + /** + * The account signal ID containing the full user-merchant fit signal result. + */ + signal?: string; + } + export interface UserMultiAccounting { /** * Timestamp at which the signal was evaluated. @@ -318,6 +360,15 @@ export namespace AccountEvaluation { | 'unknown'; } + export namespace UserMerchantFit { + export type FitLevel = + | 'standard' + | 'strong' + | 'unknown' + | 'very_strong' + | OtherString; + } + export namespace UserMultiAccounting { export type RiskLevel = | 'elevated' @@ -355,7 +406,7 @@ export namespace V2 { account?: string; /** - * The v1 customer ID of the account, for users not yet migrated to v2/accounts. + * The v1 customer ID of the account, for users not yet migrated to v2 accounts. */ customer?: string; @@ -368,6 +419,7 @@ export namespace V2 { export type RequestedSignal = | 'fraudulent_website' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; @@ -501,6 +553,11 @@ export namespace V2 { export namespace AccountDetails { export interface Data { + /** + * The account's contact email. + */ + contact_email?: string; + /** * Default account settings. */ diff --git a/src/resources/V2/Signals/AccountSignals.ts b/src/resources/V2/Signals/AccountSignals.ts index 42cc041236..412aa7c871 100644 --- a/src/resources/V2/Signals/AccountSignals.ts +++ b/src/resources/V2/Signals/AccountSignals.ts @@ -57,6 +57,10 @@ export class AccountSignalResource extends StripeResource { kind: 'object', fields: {score: {kind: 'decimal_string'}}, }, + user_merchant_fit: { + kind: 'object', + fields: {score: {kind: 'decimal_string'}}, + }, user_multi_accounting: { kind: 'object', fields: {score: {kind: 'decimal_string'}}, @@ -116,6 +120,10 @@ export class AccountSignalResource extends StripeResource { kind: 'object', fields: {score: {kind: 'decimal_string'}}, }, + user_merchant_fit: { + kind: 'object', + fields: {score: {kind: 'decimal_string'}}, + }, user_multi_accounting: { kind: 'object', fields: {score: {kind: 'decimal_string'}}, @@ -187,6 +195,11 @@ export interface AccountSignal { */ user_account_sharing?: AccountSignal.UserAccountSharing; + /** + * Data for the user-merchant fit signal. Present only when type is user_merchant_fit. + */ + user_merchant_fit?: AccountSignal.UserMerchantFit; + /** * Data for the user multi-accounting signal. Present only when type is user_multi_accounting. */ @@ -271,6 +284,7 @@ export namespace AccountSignal { | 'merchant_delinquency' | 'payment_delinquency_exposure' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; @@ -287,6 +301,18 @@ export namespace AccountSignal { score?: Decimal; } + export interface UserMerchantFit { + /** + * Categorical assessment of the user-merchant fit. + */ + fit_level: UserMerchantFit.FitLevel; + + /** + * The specific fit score for the user, between 0.00 and 100.00. Absent when fit_level is unknown. + */ + score?: Decimal; + } + export interface UserMultiAccounting { /** * Categorical assessment of the multi-accounting risk. @@ -480,6 +506,15 @@ export namespace AccountSignal { | 'unknown'; } + export namespace UserMerchantFit { + export type FitLevel = + | 'standard' + | 'strong' + | 'unknown' + | 'very_strong' + | OtherString; + } + export namespace UserMultiAccounting { export type RiskLevel = | 'elevated' @@ -521,6 +556,7 @@ export namespace V2 { | 'merchant_delinquency' | 'payment_delinquency_exposure' | 'user_account_sharing' + | 'user_merchant_fit' | 'user_multi_accounting' | OtherString; diff --git a/src/resources/WebhookEndpoints.ts b/src/resources/WebhookEndpoints.ts index ee1062f08f..44e8ac68dd 100644 --- a/src/resources/WebhookEndpoints.ts +++ b/src/resources/WebhookEndpoints.ts @@ -471,6 +471,13 @@ export namespace WebhookEndpointCreateParams { | 'test_helpers.test_clock.deleted' | 'test_helpers.test_clock.internal_failure' | 'test_helpers.test_clock.ready' + | 'three_d_secure.authentication.canceled' + | 'three_d_secure.authentication.challenge_started' + | 'three_d_secure.authentication.errored' + | 'three_d_secure.authentication.failed' + | 'three_d_secure.authentication.requires_challenge' + | 'three_d_secure.authentication.requires_submission' + | 'three_d_secure.authentication.succeeded' | 'topup.canceled' | 'topup.created' | 'topup.failed' @@ -949,6 +956,13 @@ export namespace WebhookEndpointUpdateParams { | 'test_helpers.test_clock.deleted' | 'test_helpers.test_clock.internal_failure' | 'test_helpers.test_clock.ready' + | 'three_d_secure.authentication.canceled' + | 'three_d_secure.authentication.challenge_started' + | 'three_d_secure.authentication.errored' + | 'three_d_secure.authentication.failed' + | 'three_d_secure.authentication.requires_challenge' + | 'three_d_secure.authentication.requires_submission' + | 'three_d_secure.authentication.succeeded' | 'topup.canceled' | 'topup.created' | 'topup.failed' diff --git a/src/stripe.cjs.node.ts b/src/stripe.cjs.node.ts index fee5f4882f..a01272a3b8 100644 --- a/src/stripe.cjs.node.ts +++ b/src/stripe.cjs.node.ts @@ -867,7 +867,7 @@ declare namespace StripeConstructor { export type SmartDisputes = Stripe_.AccountCreateParams.Settings.SmartDisputes; export type TaxForms = Stripe_.AccountCreateParams.Settings.TaxForms; export type Treasury = Stripe_.AccountCreateParams.Settings.Treasury; - export type WechatPayPayments = Stripe_.AccountCreateParams.Settings.WechatPayPayments; + export type WechatPayMobileWebPayments = Stripe_.AccountCreateParams.Settings.WechatPayMobileWebPayments; export namespace CardIssuing { export type TosAcceptance = Stripe_.AccountCreateParams.Settings.CardIssuing.TosAcceptance; } @@ -1077,7 +1077,7 @@ declare namespace StripeConstructor { export type SmartDisputes = Stripe_.AccountUpdateParams.Settings.SmartDisputes; export type TaxForms = Stripe_.AccountUpdateParams.Settings.TaxForms; export type Treasury = Stripe_.AccountUpdateParams.Settings.Treasury; - export type WechatPayPayments = Stripe_.AccountUpdateParams.Settings.WechatPayPayments; + export type WechatPayMobileWebPayments = Stripe_.AccountUpdateParams.Settings.WechatPayMobileWebPayments; export namespace CardIssuing { export type TosAcceptance = Stripe_.AccountUpdateParams.Settings.CardIssuing.TosAcceptance; } @@ -1384,7 +1384,7 @@ declare namespace StripeConstructor { export type SmartDisputes = Stripe_.Account.Settings.SmartDisputes; export type TaxForms = Stripe_.Account.Settings.TaxForms; export type Treasury = Stripe_.Account.Settings.Treasury; - export type WechatPayPayments = Stripe_.Account.Settings.WechatPayPayments; + export type WechatPayMobileWebPayments = Stripe_.Account.Settings.WechatPayMobileWebPayments; export namespace CardIssuing { export type TosAcceptance = Stripe_.Account.Settings.CardIssuing.TosAcceptance; } @@ -1761,6 +1761,7 @@ declare namespace StripeConstructor { export type Pending = Stripe_.Balance.Pending; export type RefundAndDisputePrefunding = Stripe_.Balance.RefundAndDisputePrefunding; export type RiskReserved = Stripe_.Balance.RiskReserved; + export type SettlementReserved = Stripe_.Balance.SettlementReserved; export type TransitBalancesTotal = Stripe_.Balance.TransitBalancesTotal; export namespace Available { export type SourceTypes = Stripe_.Balance.Available.SourceTypes; @@ -1804,6 +1805,16 @@ declare namespace StripeConstructor { export type SourceTypes = Stripe_.Balance.RiskReserved.Pending.SourceTypes; } } + export namespace SettlementReserved { + export type Available = Stripe_.Balance.SettlementReserved.Available; + export type Pending = Stripe_.Balance.SettlementReserved.Pending; + export namespace Available { + export type SourceTypes = Stripe_.Balance.SettlementReserved.Available.SourceTypes; + } + export namespace Pending { + export type SourceTypes = Stripe_.Balance.SettlementReserved.Pending.SourceTypes; + } + } export namespace TransitBalancesTotal { export type Available = Stripe_.Balance.TransitBalancesTotal.Available; export type Pending = Stripe_.Balance.TransitBalancesTotal.Pending; @@ -2291,11 +2302,13 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.Charge.PaymentMethodDetails.Boleto; export type Card = Stripe_.Charge.PaymentMethodDetails.Card; export type CardPresent = Stripe_.Charge.PaymentMethodDetails.CardPresent; + export type Carecredit = Stripe_.Charge.PaymentMethodDetails.Carecredit; export type Cashapp = Stripe_.Charge.PaymentMethodDetails.Cashapp; export type Crypto = Stripe_.Charge.PaymentMethodDetails.Crypto; export type CustomerBalance = Stripe_.Charge.PaymentMethodDetails.CustomerBalance; export type Eps = Stripe_.Charge.PaymentMethodDetails.Eps; export type Fpx = Stripe_.Charge.PaymentMethodDetails.Fpx; + export type Getflex = Stripe_.Charge.PaymentMethodDetails.Getflex; export type GiftCard = Stripe_.Charge.PaymentMethodDetails.GiftCard; export type Giropay = Stripe_.Charge.PaymentMethodDetails.Giropay; export type Gopay = Stripe_.Charge.PaymentMethodDetails.Gopay; @@ -2324,6 +2337,7 @@ declare namespace StripeConstructor { export type Pix = Stripe_.Charge.PaymentMethodDetails.Pix; export type Promptpay = Stripe_.Charge.PaymentMethodDetails.Promptpay; export type Qris = Stripe_.Charge.PaymentMethodDetails.Qris; + export type RakutenPay = Stripe_.Charge.PaymentMethodDetails.RakutenPay; export type Rechnung = Stripe_.Charge.PaymentMethodDetails.Rechnung; export type RevolutPay = Stripe_.Charge.PaymentMethodDetails.RevolutPay; export type SamsungPay = Stripe_.Charge.PaymentMethodDetails.SamsungPay; @@ -2332,6 +2346,7 @@ declare namespace StripeConstructor { export type SepaCreditTransfer = Stripe_.Charge.PaymentMethodDetails.SepaCreditTransfer; export type SepaDebit = Stripe_.Charge.PaymentMethodDetails.SepaDebit; export type Sequra = Stripe_.Charge.PaymentMethodDetails.Sequra; + export type Sezzle = Stripe_.Charge.PaymentMethodDetails.Sezzle; export type Shopeepay = Stripe_.Charge.PaymentMethodDetails.Shopeepay; export type Sofort = Stripe_.Charge.PaymentMethodDetails.Sofort; export type StripeAccount = Stripe_.Charge.PaymentMethodDetails.StripeAccount; @@ -2568,11 +2583,13 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.ConfirmationToken.PaymentMethodPreview.Boleto; export type Card = Stripe_.ConfirmationToken.PaymentMethodPreview.Card; export type CardPresent = Stripe_.ConfirmationToken.PaymentMethodPreview.CardPresent; + export type Carecredit = Stripe_.ConfirmationToken.PaymentMethodPreview.Carecredit; export type Cashapp = Stripe_.ConfirmationToken.PaymentMethodPreview.Cashapp; export type Crypto = Stripe_.ConfirmationToken.PaymentMethodPreview.Crypto; export type CustomerBalance = Stripe_.ConfirmationToken.PaymentMethodPreview.CustomerBalance; export type Eps = Stripe_.ConfirmationToken.PaymentMethodPreview.Eps; export type Fpx = Stripe_.ConfirmationToken.PaymentMethodPreview.Fpx; + export type Getflex = Stripe_.ConfirmationToken.PaymentMethodPreview.Getflex; export type GiftCard = Stripe_.ConfirmationToken.PaymentMethodPreview.GiftCard; export type Giropay = Stripe_.ConfirmationToken.PaymentMethodPreview.Giropay; export type Gopay = Stripe_.ConfirmationToken.PaymentMethodPreview.Gopay; @@ -2601,6 +2618,7 @@ declare namespace StripeConstructor { export type Pix = Stripe_.ConfirmationToken.PaymentMethodPreview.Pix; export type Promptpay = Stripe_.ConfirmationToken.PaymentMethodPreview.Promptpay; export type Qris = Stripe_.ConfirmationToken.PaymentMethodPreview.Qris; + export type RakutenPay = Stripe_.ConfirmationToken.PaymentMethodPreview.RakutenPay; export type Rechnung = Stripe_.ConfirmationToken.PaymentMethodPreview.Rechnung; export type RevolutPay = Stripe_.ConfirmationToken.PaymentMethodPreview.RevolutPay; export type SamsungPay = Stripe_.ConfirmationToken.PaymentMethodPreview.SamsungPay; @@ -2608,6 +2626,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.ConfirmationToken.PaymentMethodPreview.Scalapay; export type SepaDebit = Stripe_.ConfirmationToken.PaymentMethodPreview.SepaDebit; export type Sequra = Stripe_.ConfirmationToken.PaymentMethodPreview.Sequra; + export type Sezzle = Stripe_.ConfirmationToken.PaymentMethodPreview.Sezzle; export type Shopeepay = Stripe_.ConfirmationToken.PaymentMethodPreview.Shopeepay; export type Sofort = Stripe_.ConfirmationToken.PaymentMethodPreview.Sofort; export type StripeBalance = Stripe_.ConfirmationToken.PaymentMethodPreview.StripeBalance; @@ -5193,12 +5212,14 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Boleto; export type Card = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Card; export type CardPresent = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CardPresent; + export type Carecredit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Carecredit; export type Cashapp = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Cashapp; export type Crypto = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Crypto; export type Custom = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Custom; export type CustomerBalance = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.CustomerBalance; export type Eps = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Eps; export type Fpx = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Fpx; + export type Getflex = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Getflex; export type GiftCard = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.GiftCard; export type Giropay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Giropay; export type Gopay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Gopay; @@ -5228,6 +5249,7 @@ declare namespace StripeConstructor { export type Pix = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Pix; export type Promptpay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Promptpay; export type Qris = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Qris; + export type RakutenPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.RakutenPay; export type Rechnung = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Rechnung; export type RevolutPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.RevolutPay; export type SamsungPay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SamsungPay; @@ -5236,6 +5258,7 @@ declare namespace StripeConstructor { export type SepaCreditTransfer = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SepaCreditTransfer; export type SepaDebit = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.SepaDebit; export type Sequra = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sequra; + export type Sezzle = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sezzle; export type Shopeepay = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Shopeepay; export type Sofort = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.Sofort; export type StripeAccount = Stripe_.PaymentAttemptRecord.PaymentMethodDetails.StripeAccount; @@ -5683,11 +5706,13 @@ declare namespace StripeConstructor { export type Bizum = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Bizum; export type Blik = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Blik; export type Boleto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Boleto; + export type Carecredit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Carecredit; export type Cashapp = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Cashapp; export type Crypto = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Crypto; export type CustomerBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodData.CustomerBalance; export type Eps = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Eps; export type Fpx = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Fpx; + export type Getflex = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Getflex; export type GiftCard = Stripe_.PaymentIntentCreateParams.PaymentMethodData.GiftCard; export type Giropay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Giropay; export type Gopay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Gopay; @@ -5717,6 +5742,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Promptpay; export type Qris = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Qris; export type RadarOptions = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RadarOptions; + export type RakutenPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RakutenPay; export type Rechnung = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Rechnung; export type RevolutPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.RevolutPay; export type SamsungPay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.SamsungPay; @@ -5724,6 +5750,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Scalapay; export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodData.SepaDebit; export type Sequra = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sequra; + export type Sezzle = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sezzle; export type Shopeepay = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Shopeepay; export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodData.Sofort; export type StripeBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodData.StripeBalance; @@ -5792,11 +5819,13 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Boleto; export type Card = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Card; export type CardPresent = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent; + export type Carecredit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Carecredit; export type Cashapp = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp; export type Crypto = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Crypto; export type CustomerBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance; export type Eps = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Eps; export type Fpx = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Fpx; + export type Getflex = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Getflex; export type GiftCard = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.GiftCard; export type Giropay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Giropay; export type Gopay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Gopay; @@ -5832,6 +5861,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.SepaDebit; export type Sequra = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sequra; + export type Sezzle = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sezzle; export type Shopeepay = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.StripeBalance; @@ -5972,6 +6002,9 @@ declare namespace StripeConstructor { export type RequestedPriority = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } + export namespace Carecredit { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Carecredit.SetupFutureUsage; + } export namespace Cashapp { export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } @@ -5998,6 +6031,9 @@ declare namespace StripeConstructor { export type Type = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } + export namespace Getflex { + export type SetupFutureUsage = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.Getflex.SetupFutureUsage; + } export namespace GiftCard { export type RequestPartialAuthorization = Stripe_.PaymentIntentCreateParams.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; } @@ -6507,11 +6543,13 @@ declare namespace StripeConstructor { export type Bizum = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Bizum; export type Blik = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Blik; export type Boleto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Boleto; + export type Carecredit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Carecredit; export type Cashapp = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Cashapp; export type Crypto = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Crypto; export type CustomerBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.CustomerBalance; export type Eps = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Eps; export type Fpx = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Fpx; + export type Getflex = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Getflex; export type GiftCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.GiftCard; export type Giropay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Giropay; export type Gopay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Gopay; @@ -6541,6 +6579,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Promptpay; export type Qris = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Qris; export type RadarOptions = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RadarOptions; + export type RakutenPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RakutenPay; export type Rechnung = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Rechnung; export type RevolutPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.RevolutPay; export type SamsungPay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.SamsungPay; @@ -6548,6 +6587,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Scalapay; export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.SepaDebit; export type Sequra = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sequra; + export type Sezzle = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sezzle; export type Shopeepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Shopeepay; export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.Sofort; export type StripeBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodData.StripeBalance; @@ -6616,11 +6656,13 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Boleto; export type Card = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Card; export type CardPresent = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent; + export type Carecredit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Carecredit; export type Cashapp = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp; export type Crypto = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Crypto; export type CustomerBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance; export type Eps = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Eps; export type Fpx = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Fpx; + export type Getflex = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Getflex; export type GiftCard = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.GiftCard; export type Giropay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Giropay; export type Gopay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Gopay; @@ -6656,6 +6698,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit; export type Sequra = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sequra; + export type Sezzle = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sezzle; export type Shopeepay = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.StripeBalance; @@ -6796,6 +6839,9 @@ declare namespace StripeConstructor { export type RequestedPriority = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } + export namespace Carecredit { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Carecredit.SetupFutureUsage; + } export namespace Cashapp { export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } @@ -6822,6 +6868,9 @@ declare namespace StripeConstructor { export type Type = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } + export namespace Getflex { + export type SetupFutureUsage = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.Getflex.SetupFutureUsage; + } export namespace GiftCard { export type RequestPartialAuthorization = Stripe_.PaymentIntentUpdateParams.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; } @@ -7557,11 +7606,13 @@ declare namespace StripeConstructor { export type Bizum = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Bizum; export type Blik = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Blik; export type Boleto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Boleto; + export type Carecredit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Carecredit; export type Cashapp = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Cashapp; export type Crypto = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Crypto; export type CustomerBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance; export type Eps = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Eps; export type Fpx = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Fpx; + export type Getflex = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Getflex; export type GiftCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.GiftCard; export type Giropay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Giropay; export type Gopay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Gopay; @@ -7591,6 +7642,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Promptpay; export type Qris = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Qris; export type RadarOptions = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RadarOptions; + export type RakutenPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RakutenPay; export type Rechnung = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Rechnung; export type RevolutPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.RevolutPay; export type SamsungPay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.SamsungPay; @@ -7598,6 +7650,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Scalapay; export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.SepaDebit; export type Sequra = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sequra; + export type Sezzle = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sezzle; export type Shopeepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Shopeepay; export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.Sofort; export type StripeBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodData.StripeBalance; @@ -7666,11 +7719,13 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Boleto; export type Card = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Card; export type CardPresent = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent; + export type Carecredit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Carecredit; export type Cashapp = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp; export type Crypto = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Crypto; export type CustomerBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance; export type Eps = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Eps; export type Fpx = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Fpx; + export type Getflex = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Getflex; export type GiftCard = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.GiftCard; export type Giropay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Giropay; export type Gopay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Gopay; @@ -7706,6 +7761,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit; export type Sequra = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sequra; + export type Sezzle = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sezzle; export type Shopeepay = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.StripeBalance; @@ -7846,6 +7902,9 @@ declare namespace StripeConstructor { export type RequestedPriority = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } + export namespace Carecredit { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Carecredit.SetupFutureUsage; + } export namespace Cashapp { export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp.SetupFutureUsage; } @@ -7872,6 +7931,9 @@ declare namespace StripeConstructor { export type Type = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type; } } + export namespace Getflex { + export type SetupFutureUsage = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.Getflex.SetupFutureUsage; + } export namespace GiftCard { export type RequestPartialAuthorization = Stripe_.PaymentIntentConfirmParams.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; } @@ -8569,11 +8631,13 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentIntent.PaymentMethodOptions.Boleto; export type Card = Stripe_.PaymentIntent.PaymentMethodOptions.Card; export type CardPresent = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent; + export type Carecredit = Stripe_.PaymentIntent.PaymentMethodOptions.Carecredit; export type Cashapp = Stripe_.PaymentIntent.PaymentMethodOptions.Cashapp; export type Crypto = Stripe_.PaymentIntent.PaymentMethodOptions.Crypto; export type CustomerBalance = Stripe_.PaymentIntent.PaymentMethodOptions.CustomerBalance; export type Eps = Stripe_.PaymentIntent.PaymentMethodOptions.Eps; export type Fpx = Stripe_.PaymentIntent.PaymentMethodOptions.Fpx; + export type Getflex = Stripe_.PaymentIntent.PaymentMethodOptions.Getflex; export type GiftCard = Stripe_.PaymentIntent.PaymentMethodOptions.GiftCard; export type Giropay = Stripe_.PaymentIntent.PaymentMethodOptions.Giropay; export type Gopay = Stripe_.PaymentIntent.PaymentMethodOptions.Gopay; @@ -8609,6 +8673,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentIntent.PaymentMethodOptions.Scalapay; export type SepaDebit = Stripe_.PaymentIntent.PaymentMethodOptions.SepaDebit; export type Sequra = Stripe_.PaymentIntent.PaymentMethodOptions.Sequra; + export type Sezzle = Stripe_.PaymentIntent.PaymentMethodOptions.Sezzle; export type Shopeepay = Stripe_.PaymentIntent.PaymentMethodOptions.Shopeepay; export type Sofort = Stripe_.PaymentIntent.PaymentMethodOptions.Sofort; export type StripeBalance = Stripe_.PaymentIntent.PaymentMethodOptions.StripeBalance; @@ -8722,6 +8787,9 @@ declare namespace StripeConstructor { export type RequestedPriority = Stripe_.PaymentIntent.PaymentMethodOptions.CardPresent.Routing.RequestedPriority; } } + export namespace Carecredit { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Carecredit.SetupFutureUsage; + } export namespace Cashapp { export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Cashapp.SetupFutureUsage; } @@ -8751,6 +8819,9 @@ declare namespace StripeConstructor { } } } + export namespace Getflex { + export type SetupFutureUsage = Stripe_.PaymentIntent.PaymentMethodOptions.Getflex.SetupFutureUsage; + } export namespace GiftCard { export type RequestPartialAuthorization = Stripe_.PaymentIntent.PaymentMethodOptions.GiftCard.RequestPartialAuthorization; } @@ -9319,12 +9390,14 @@ declare namespace StripeConstructor { export type Blik = Stripe_.PaymentMethodCreateParams.Blik; export type Boleto = Stripe_.PaymentMethodCreateParams.Boleto; export type Card = Stripe_.PaymentMethodCreateParams.Card; + export type Carecredit = Stripe_.PaymentMethodCreateParams.Carecredit; export type Cashapp = Stripe_.PaymentMethodCreateParams.Cashapp; export type Crypto = Stripe_.PaymentMethodCreateParams.Crypto; export type Custom = Stripe_.PaymentMethodCreateParams.Custom; export type CustomerBalance = Stripe_.PaymentMethodCreateParams.CustomerBalance; export type Eps = Stripe_.PaymentMethodCreateParams.Eps; export type Fpx = Stripe_.PaymentMethodCreateParams.Fpx; + export type Getflex = Stripe_.PaymentMethodCreateParams.Getflex; export type GiftCard = Stripe_.PaymentMethodCreateParams.GiftCard; export type Giropay = Stripe_.PaymentMethodCreateParams.Giropay; export type Gopay = Stripe_.PaymentMethodCreateParams.Gopay; @@ -9354,6 +9427,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.PaymentMethodCreateParams.Promptpay; export type Qris = Stripe_.PaymentMethodCreateParams.Qris; export type RadarOptions = Stripe_.PaymentMethodCreateParams.RadarOptions; + export type RakutenPay = Stripe_.PaymentMethodCreateParams.RakutenPay; export type Rechnung = Stripe_.PaymentMethodCreateParams.Rechnung; export type RevolutPay = Stripe_.PaymentMethodCreateParams.RevolutPay; export type SamsungPay = Stripe_.PaymentMethodCreateParams.SamsungPay; @@ -9361,6 +9435,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentMethodCreateParams.Scalapay; export type SepaDebit = Stripe_.PaymentMethodCreateParams.SepaDebit; export type Sequra = Stripe_.PaymentMethodCreateParams.Sequra; + export type Sezzle = Stripe_.PaymentMethodCreateParams.Sezzle; export type Shopeepay = Stripe_.PaymentMethodCreateParams.Shopeepay; export type Sofort = Stripe_.PaymentMethodCreateParams.Sofort; export type StripeBalance = Stripe_.PaymentMethodCreateParams.StripeBalance; @@ -9458,12 +9533,14 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentMethod.Boleto; export type Card = Stripe_.PaymentMethod.Card; export type CardPresent = Stripe_.PaymentMethod.CardPresent; + export type Carecredit = Stripe_.PaymentMethod.Carecredit; export type Cashapp = Stripe_.PaymentMethod.Cashapp; export type Crypto = Stripe_.PaymentMethod.Crypto; export type Custom = Stripe_.PaymentMethod.Custom; export type CustomerBalance = Stripe_.PaymentMethod.CustomerBalance; export type Eps = Stripe_.PaymentMethod.Eps; export type Fpx = Stripe_.PaymentMethod.Fpx; + export type Getflex = Stripe_.PaymentMethod.Getflex; export type GiftCard = Stripe_.PaymentMethod.GiftCard; export type Giropay = Stripe_.PaymentMethod.Giropay; export type Gopay = Stripe_.PaymentMethod.Gopay; @@ -9493,6 +9570,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.PaymentMethod.Promptpay; export type Qris = Stripe_.PaymentMethod.Qris; export type RadarOptions = Stripe_.PaymentMethod.RadarOptions; + export type RakutenPay = Stripe_.PaymentMethod.RakutenPay; export type Rechnung = Stripe_.PaymentMethod.Rechnung; export type Redaction = Stripe_.PaymentMethod.Redaction; export type RevolutPay = Stripe_.PaymentMethod.RevolutPay; @@ -9501,6 +9579,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.PaymentMethod.Scalapay; export type SepaDebit = Stripe_.PaymentMethod.SepaDebit; export type Sequra = Stripe_.PaymentMethod.Sequra; + export type Sezzle = Stripe_.PaymentMethod.Sezzle; export type Shopeepay = Stripe_.PaymentMethod.Shopeepay; export type Sofort = Stripe_.PaymentMethod.Sofort; export type StripeBalance = Stripe_.PaymentMethod.StripeBalance; @@ -11384,12 +11463,14 @@ declare namespace StripeConstructor { export type Boleto = Stripe_.PaymentRecord.PaymentMethodDetails.Boleto; export type Card = Stripe_.PaymentRecord.PaymentMethodDetails.Card; export type CardPresent = Stripe_.PaymentRecord.PaymentMethodDetails.CardPresent; + export type Carecredit = Stripe_.PaymentRecord.PaymentMethodDetails.Carecredit; export type Cashapp = Stripe_.PaymentRecord.PaymentMethodDetails.Cashapp; export type Crypto = Stripe_.PaymentRecord.PaymentMethodDetails.Crypto; export type Custom = Stripe_.PaymentRecord.PaymentMethodDetails.Custom; export type CustomerBalance = Stripe_.PaymentRecord.PaymentMethodDetails.CustomerBalance; export type Eps = Stripe_.PaymentRecord.PaymentMethodDetails.Eps; export type Fpx = Stripe_.PaymentRecord.PaymentMethodDetails.Fpx; + export type Getflex = Stripe_.PaymentRecord.PaymentMethodDetails.Getflex; export type GiftCard = Stripe_.PaymentRecord.PaymentMethodDetails.GiftCard; export type Giropay = Stripe_.PaymentRecord.PaymentMethodDetails.Giropay; export type Gopay = Stripe_.PaymentRecord.PaymentMethodDetails.Gopay; @@ -11419,6 +11500,7 @@ declare namespace StripeConstructor { export type Pix = Stripe_.PaymentRecord.PaymentMethodDetails.Pix; export type Promptpay = Stripe_.PaymentRecord.PaymentMethodDetails.Promptpay; export type Qris = Stripe_.PaymentRecord.PaymentMethodDetails.Qris; + export type RakutenPay = Stripe_.PaymentRecord.PaymentMethodDetails.RakutenPay; export type Rechnung = Stripe_.PaymentRecord.PaymentMethodDetails.Rechnung; export type RevolutPay = Stripe_.PaymentRecord.PaymentMethodDetails.RevolutPay; export type SamsungPay = Stripe_.PaymentRecord.PaymentMethodDetails.SamsungPay; @@ -11427,6 +11509,7 @@ declare namespace StripeConstructor { export type SepaCreditTransfer = Stripe_.PaymentRecord.PaymentMethodDetails.SepaCreditTransfer; export type SepaDebit = Stripe_.PaymentRecord.PaymentMethodDetails.SepaDebit; export type Sequra = Stripe_.PaymentRecord.PaymentMethodDetails.Sequra; + export type Sezzle = Stripe_.PaymentRecord.PaymentMethodDetails.Sezzle; export type Shopeepay = Stripe_.PaymentRecord.PaymentMethodDetails.Shopeepay; export type Sofort = Stripe_.PaymentRecord.PaymentMethodDetails.Sofort; export type StripeAccount = Stripe_.PaymentRecord.PaymentMethodDetails.StripeAccount; @@ -12687,11 +12770,13 @@ declare namespace StripeConstructor { export type Bizum = Stripe_.SetupIntentCreateParams.PaymentMethodData.Bizum; export type Blik = Stripe_.SetupIntentCreateParams.PaymentMethodData.Blik; export type Boleto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Boleto; + export type Carecredit = Stripe_.SetupIntentCreateParams.PaymentMethodData.Carecredit; export type Cashapp = Stripe_.SetupIntentCreateParams.PaymentMethodData.Cashapp; export type Crypto = Stripe_.SetupIntentCreateParams.PaymentMethodData.Crypto; export type CustomerBalance = Stripe_.SetupIntentCreateParams.PaymentMethodData.CustomerBalance; export type Eps = Stripe_.SetupIntentCreateParams.PaymentMethodData.Eps; export type Fpx = Stripe_.SetupIntentCreateParams.PaymentMethodData.Fpx; + export type Getflex = Stripe_.SetupIntentCreateParams.PaymentMethodData.Getflex; export type GiftCard = Stripe_.SetupIntentCreateParams.PaymentMethodData.GiftCard; export type Giropay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Giropay; export type Gopay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Gopay; @@ -12721,6 +12806,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Promptpay; export type Qris = Stripe_.SetupIntentCreateParams.PaymentMethodData.Qris; export type RadarOptions = Stripe_.SetupIntentCreateParams.PaymentMethodData.RadarOptions; + export type RakutenPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.RakutenPay; export type Rechnung = Stripe_.SetupIntentCreateParams.PaymentMethodData.Rechnung; export type RevolutPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.RevolutPay; export type SamsungPay = Stripe_.SetupIntentCreateParams.PaymentMethodData.SamsungPay; @@ -12728,6 +12814,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Scalapay; export type SepaDebit = Stripe_.SetupIntentCreateParams.PaymentMethodData.SepaDebit; export type Sequra = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sequra; + export type Sezzle = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sezzle; export type Shopeepay = Stripe_.SetupIntentCreateParams.PaymentMethodData.Shopeepay; export type Sofort = Stripe_.SetupIntentCreateParams.PaymentMethodData.Sofort; export type StripeBalance = Stripe_.SetupIntentCreateParams.PaymentMethodData.StripeBalance; @@ -12933,11 +13020,13 @@ declare namespace StripeConstructor { export type Bizum = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Bizum; export type Blik = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Blik; export type Boleto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Boleto; + export type Carecredit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Carecredit; export type Cashapp = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Cashapp; export type Crypto = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Crypto; export type CustomerBalance = Stripe_.SetupIntentUpdateParams.PaymentMethodData.CustomerBalance; export type Eps = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Eps; export type Fpx = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Fpx; + export type Getflex = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Getflex; export type GiftCard = Stripe_.SetupIntentUpdateParams.PaymentMethodData.GiftCard; export type Giropay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Giropay; export type Gopay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Gopay; @@ -12967,6 +13056,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Promptpay; export type Qris = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Qris; export type RadarOptions = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RadarOptions; + export type RakutenPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RakutenPay; export type Rechnung = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Rechnung; export type RevolutPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.RevolutPay; export type SamsungPay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.SamsungPay; @@ -12974,6 +13064,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Scalapay; export type SepaDebit = Stripe_.SetupIntentUpdateParams.PaymentMethodData.SepaDebit; export type Sequra = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sequra; + export type Sezzle = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sezzle; export type Shopeepay = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Shopeepay; export type Sofort = Stripe_.SetupIntentUpdateParams.PaymentMethodData.Sofort; export type StripeBalance = Stripe_.SetupIntentUpdateParams.PaymentMethodData.StripeBalance; @@ -13189,11 +13280,13 @@ declare namespace StripeConstructor { export type Bizum = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Bizum; export type Blik = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Blik; export type Boleto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Boleto; + export type Carecredit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Carecredit; export type Cashapp = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Cashapp; export type Crypto = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Crypto; export type CustomerBalance = Stripe_.SetupIntentConfirmParams.PaymentMethodData.CustomerBalance; export type Eps = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Eps; export type Fpx = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Fpx; + export type Getflex = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Getflex; export type GiftCard = Stripe_.SetupIntentConfirmParams.PaymentMethodData.GiftCard; export type Giropay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Giropay; export type Gopay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Gopay; @@ -13223,6 +13316,7 @@ declare namespace StripeConstructor { export type Promptpay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Promptpay; export type Qris = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Qris; export type RadarOptions = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RadarOptions; + export type RakutenPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RakutenPay; export type Rechnung = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Rechnung; export type RevolutPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.RevolutPay; export type SamsungPay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.SamsungPay; @@ -13230,6 +13324,7 @@ declare namespace StripeConstructor { export type Scalapay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Scalapay; export type SepaDebit = Stripe_.SetupIntentConfirmParams.PaymentMethodData.SepaDebit; export type Sequra = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sequra; + export type Sezzle = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sezzle; export type Shopeepay = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Shopeepay; export type Sofort = Stripe_.SetupIntentConfirmParams.PaymentMethodData.Sofort; export type StripeBalance = Stripe_.SetupIntentConfirmParams.PaymentMethodData.StripeBalance; @@ -17158,6 +17253,7 @@ declare namespace StripeConstructor { } export namespace Card { export type Installments = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Installments; + export type MandateOptions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.MandateOptions; export type RequestDecrementalAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestDecrementalAuthorization; export type RequestExtendedAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestExtendedAuthorization; export type RequestIncrementalAuthorization = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestIncrementalAuthorization; @@ -17166,6 +17262,10 @@ declare namespace StripeConstructor { export type RequestThreeDSecure = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure; export type Restrictions = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions; export type SetupFutureUsage = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.SetupFutureUsage; + export namespace MandateOptions { + export type AmountType = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.MandateOptions.AmountType; + export type Interval = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.MandateOptions.Interval; + } export namespace Restrictions { export type BrandsBlocked = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.BrandsBlocked; export type FundingTypesBlocked = Stripe_.Checkout.SessionCreateParams.PaymentMethodOptions.Card.Restrictions.FundingTypesBlocked; @@ -18443,9 +18543,18 @@ declare namespace StripeConstructor { } } export namespace Signals { + export type FraudulentDocument = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument; export type FraudulentEmail = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail; export type FraudulentPerson = Stripe_.Identity.VerificationReport.Signals.FraudulentPerson; export type FraudulentPhone = Stripe_.Identity.VerificationReport.Signals.FraudulentPhone; + export namespace FraudulentDocument { + export type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument.Indicator; + export type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument.RiskLevel; + export namespace Indicator { + export type Impact = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument.Indicator.Impact; + export type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentDocument.Indicator.Indicator; + } + } export namespace FraudulentEmail { export type Indicator = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail.Indicator; export type RiskLevel = Stripe_.Identity.VerificationReport.Signals.FraudulentEmail.RiskLevel; @@ -24620,6 +24729,9 @@ declare namespace StripeConstructor { export type Relationship = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.Relationship; export type ScriptAddresses = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptAddresses; export type ScriptNames = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.ScriptNames; + export namespace AdditionalAddress { + export type Purpose = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.AdditionalAddress.Purpose; + } export namespace AdditionalName { export type Purpose = Stripe_.V2.Core.AccountCreateParams.Identity.Individual.AdditionalName.Purpose; } @@ -27621,6 +27733,9 @@ declare namespace StripeConstructor { export type Relationship = Stripe_.V2.Core.Account.Identity.Individual.Relationship; export type ScriptAddresses = Stripe_.V2.Core.Account.Identity.Individual.ScriptAddresses; export type ScriptNames = Stripe_.V2.Core.Account.Identity.Individual.ScriptNames; + export namespace AdditionalAddress { + export type Purpose = Stripe_.V2.Core.Account.Identity.Individual.AdditionalAddress.Purpose; + } export namespace AdditionalName { export type Purpose = Stripe_.V2.Core.Account.Identity.Individual.AdditionalName.Purpose; } @@ -27955,6 +28070,9 @@ declare namespace StripeConstructor { export type Relationship = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.Relationship; export type ScriptAddresses = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptAddresses; export type ScriptNames = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.ScriptNames; + export namespace AdditionalAddress { + export type Purpose = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalAddress.Purpose; + } export namespace AdditionalName { export type Purpose = Stripe_.V2.Core.AccountTokenCreateParams.Identity.Individual.AdditionalName.Purpose; } @@ -28216,6 +28334,9 @@ declare namespace StripeConstructor { export type Relationship = Stripe_.V2.Core.AccountPerson.Relationship; export type ScriptAddresses = Stripe_.V2.Core.AccountPerson.ScriptAddresses; export type ScriptNames = Stripe_.V2.Core.AccountPerson.ScriptNames; + export namespace AdditionalAddress { + export type Purpose = Stripe_.V2.Core.AccountPerson.AdditionalAddress.Purpose; + } export namespace AdditionalName { export type Purpose = Stripe_.V2.Core.AccountPerson.AdditionalName.Purpose; } @@ -28381,9 +28502,7 @@ declare namespace StripeConstructor { export type GbBankAccountCreateParams = Stripe_.V2.Core.Vault.GbBankAccountCreateParams; export type GbBankAccountRetrieveParams = Stripe_.V2.Core.Vault.GbBankAccountRetrieveParams; export type GbBankAccountListParams = Stripe_.V2.Core.Vault.GbBankAccountListParams; - export type GbBankAccountAcknowledgeConfirmationOfPayeeParams = Stripe_.V2.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams; export type GbBankAccountArchiveParams = Stripe_.V2.Core.Vault.GbBankAccountArchiveParams; - export type GbBankAccountInitiateConfirmationOfPayeeParams = Stripe_.V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams; export type GbBankAccountResource = Stripe_.V2.Core.Vault.GbBankAccountResource; export type NetworkToken = Stripe_.V2.Core.Vault.NetworkToken; export type NetworkTokenCreateParams = Stripe_.V2.Core.Vault.NetworkTokenCreateParams; @@ -29040,9 +29159,12 @@ declare namespace StripeConstructor { export type Type = Stripe_.V2.MoneyManagement.FinancialAddress.Type; export namespace BankAccount { export type Aba = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Aba; + export type BreB = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.BreB; export type Clabe = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Clabe; export type Cpa = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Cpa; export type Iban = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Iban; + export type Nip = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Nip; + export type Pix = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Pix; export type SortCode = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.SortCode; export type Type = Stripe_.V2.MoneyManagement.FinancialAddress.BankAccount.Type; } @@ -29570,14 +29692,20 @@ declare namespace StripeConstructor { } export namespace OriginatingBankAccount { export type Aba = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Aba; + export type BreB = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.BreB; export type Clabe = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Clabe; export type Cpa = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Cpa; export type Iban = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Iban; + export type Nip = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Nip; + export type Pix = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Pix; export type SortCode = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.SortCode; export type Type = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Type; export namespace Aba { export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Aba.Network; } + export namespace BreB { + export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.BreB.Network; + } export namespace Clabe { export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Clabe.Network; } @@ -29587,6 +29715,12 @@ declare namespace StripeConstructor { export namespace Iban { export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Iban.Network; } + export namespace Nip { + export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Nip.Network; + } + export namespace Pix { + export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Pix.Network; + } export namespace SortCode { export type Network = Stripe_.V2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.SortCode.Network; } @@ -29793,7 +29927,6 @@ declare namespace StripeConstructor { export type OffSessionPaymentRetrieveParams = Stripe_.V2.Payments.OffSessionPaymentRetrieveParams; export type OffSessionPaymentListParams = Stripe_.V2.Payments.OffSessionPaymentListParams; export type OffSessionPaymentCancelParams = Stripe_.V2.Payments.OffSessionPaymentCancelParams; - export type OffSessionPaymentCaptureParams = Stripe_.V2.Payments.OffSessionPaymentCaptureParams; export type OffSessionPaymentPauseParams = Stripe_.V2.Payments.OffSessionPaymentPauseParams; export type OffSessionPaymentResumeParams = Stripe_.V2.Payments.OffSessionPaymentResumeParams; export type OffSessionPaymentResource = Stripe_.V2.Payments.OffSessionPaymentResource; @@ -29809,7 +29942,6 @@ declare namespace StripeConstructor { export namespace OffSessionPaymentCreateParams { export type Cadence = Stripe_.V2.Payments.OffSessionPaymentCreateParams.Cadence; export type AmountDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails; - export type Capture = Stripe_.V2.Payments.OffSessionPaymentCreateParams.Capture; export type PaymentDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentDetails; export type PaymentMethodData = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData; export type PaymentMethodOptions = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodOptions; @@ -29824,9 +29956,6 @@ declare namespace StripeConstructor { export type Tax = Stripe_.V2.Payments.OffSessionPaymentCreateParams.AmountDetails.LineItem.Tax; } } - export namespace Capture { - export type CaptureMethod = Stripe_.V2.Payments.OffSessionPaymentCreateParams.Capture.CaptureMethod; - } export namespace PaymentMethodData { export type BillingDetails = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData.BillingDetails; export type Card = Stripe_.V2.Payments.OffSessionPaymentCreateParams.PaymentMethodData.Card; @@ -29845,7 +29974,6 @@ declare namespace StripeConstructor { export namespace OffSessionPayment { export type AmountDetails = Stripe_.V2.Payments.OffSessionPayment.AmountDetails; export type Cadence = Stripe_.V2.Payments.OffSessionPayment.Cadence; - export type Capture = Stripe_.V2.Payments.OffSessionPayment.Capture; export type FailureReason = Stripe_.V2.Payments.OffSessionPayment.FailureReason; export type LatestPaymentAttemptRecordDetails = Stripe_.V2.Payments.OffSessionPayment.LatestPaymentAttemptRecordDetails; export type PaymentDetails = Stripe_.V2.Payments.OffSessionPayment.PaymentDetails; @@ -29865,9 +29993,6 @@ declare namespace StripeConstructor { export type Tax = Stripe_.V2.Payments.OffSessionPayment.AmountDetails.LineItem.Tax; } } - export namespace Capture { - export type CaptureMethod = Stripe_.V2.Payments.OffSessionPayment.Capture.CaptureMethod; - } export namespace LatestPaymentAttemptRecordDetails { export type FailureDetails = Stripe_.V2.Payments.OffSessionPayment.LatestPaymentAttemptRecordDetails.FailureDetails; export type PaymentMethodDetails = Stripe_.V2.Payments.OffSessionPayment.LatestPaymentAttemptRecordDetails.PaymentMethodDetails; @@ -30291,6 +30416,7 @@ declare namespace StripeConstructor { export namespace EvaluatedSignals { export type FraudulentWebsite = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.FraudulentWebsite; export type UserAccountSharing = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.UserAccountSharing; + export type UserMerchantFit = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.UserMerchantFit; export type UserMultiAccounting = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.UserMultiAccounting; export namespace FraudulentWebsite { export type RiskLevel = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.FraudulentWebsite.RiskLevel; @@ -30298,6 +30424,9 @@ declare namespace StripeConstructor { export namespace UserAccountSharing { export type RiskLevel = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.UserAccountSharing.RiskLevel; } + export namespace UserMerchantFit { + export type FitLevel = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.UserMerchantFit.FitLevel; + } export namespace UserMultiAccounting { export type RiskLevel = Stripe_.V2.Signals.AccountEvaluation.EvaluatedSignals.UserMultiAccounting.RiskLevel; } @@ -30311,6 +30440,7 @@ declare namespace StripeConstructor { export type PaymentDelinquencyExposure = Stripe_.V2.Signals.AccountSignal.PaymentDelinquencyExposure; export type Type = Stripe_.V2.Signals.AccountSignal.Type; export type UserAccountSharing = Stripe_.V2.Signals.AccountSignal.UserAccountSharing; + export type UserMerchantFit = Stripe_.V2.Signals.AccountSignal.UserMerchantFit; export type UserMultiAccounting = Stripe_.V2.Signals.AccountSignal.UserMultiAccounting; export namespace FraudulentMerchant { export type AdditionalDetails = Stripe_.V2.Signals.AccountSignal.FraudulentMerchant.AdditionalDetails; @@ -30347,6 +30477,9 @@ declare namespace StripeConstructor { export namespace UserAccountSharing { export type RiskLevel = Stripe_.V2.Signals.AccountSignal.UserAccountSharing.RiskLevel; } + export namespace UserMerchantFit { + export type FitLevel = Stripe_.V2.Signals.AccountSignal.UserMerchantFit.FitLevel; + } export namespace UserMultiAccounting { export type RiskLevel = Stripe_.V2.Signals.AccountSignal.UserMultiAccounting.RiskLevel; } @@ -31357,8 +31490,6 @@ declare namespace StripeConstructor { export type V2PaymentsOffSessionPaymentFailedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentFailedEventNotification; export type V2PaymentsOffSessionPaymentPausedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentPausedEvent; export type V2PaymentsOffSessionPaymentPausedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentPausedEventNotification; - export type V2PaymentsOffSessionPaymentRequiresCaptureEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentRequiresCaptureEvent; - export type V2PaymentsOffSessionPaymentRequiresCaptureEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentRequiresCaptureEventNotification; export type V2PaymentsOffSessionPaymentResumedEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentResumedEvent; export type V2PaymentsOffSessionPaymentResumedEventNotification = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentResumedEventNotification; export type V2PaymentsOffSessionPaymentSucceededEvent = Stripe_.V2.Core.Events.V2PaymentsOffSessionPaymentSucceededEvent; @@ -31933,6 +32064,13 @@ declare namespace StripeConstructor { export type TestHelpersTestClockDeletedEvent = Stripe_.TestHelpersTestClockDeletedEvent; export type TestHelpersTestClockInternalFailureEvent = Stripe_.TestHelpersTestClockInternalFailureEvent; export type TestHelpersTestClockReadyEvent = Stripe_.TestHelpersTestClockReadyEvent; + export type ThreeDSecureAuthenticationCanceledEvent = Stripe_.ThreeDSecureAuthenticationCanceledEvent; + export type ThreeDSecureAuthenticationChallengeStartedEvent = Stripe_.ThreeDSecureAuthenticationChallengeStartedEvent; + export type ThreeDSecureAuthenticationErroredEvent = Stripe_.ThreeDSecureAuthenticationErroredEvent; + export type ThreeDSecureAuthenticationFailedEvent = Stripe_.ThreeDSecureAuthenticationFailedEvent; + export type ThreeDSecureAuthenticationRequiresChallengeEvent = Stripe_.ThreeDSecureAuthenticationRequiresChallengeEvent; + export type ThreeDSecureAuthenticationRequiresSubmissionEvent = Stripe_.ThreeDSecureAuthenticationRequiresSubmissionEvent; + export type ThreeDSecureAuthenticationSucceededEvent = Stripe_.ThreeDSecureAuthenticationSucceededEvent; export type TopupCanceledEvent = Stripe_.TopupCanceledEvent; export type TopupCreatedEvent = Stripe_.TopupCreatedEvent; export type TopupFailedEvent = Stripe_.TopupFailedEvent; diff --git a/src/stripe.core.ts b/src/stripe.core.ts index 07c90ce578..f9133cac2c 100644 --- a/src/stripe.core.ts +++ b/src/stripe.core.ts @@ -1135,6 +1135,13 @@ import { TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, + ThreeDSecureAuthenticationCanceledEvent, + ThreeDSecureAuthenticationChallengeStartedEvent, + ThreeDSecureAuthenticationErroredEvent, + ThreeDSecureAuthenticationFailedEvent, + ThreeDSecureAuthenticationRequiresChallengeEvent, + ThreeDSecureAuthenticationRequiresSubmissionEvent, + ThreeDSecureAuthenticationSucceededEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, @@ -3268,6 +3275,13 @@ export declare namespace Stripe { TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, + ThreeDSecureAuthenticationCanceledEvent, + ThreeDSecureAuthenticationChallengeStartedEvent, + ThreeDSecureAuthenticationErroredEvent, + ThreeDSecureAuthenticationFailedEvent, + ThreeDSecureAuthenticationRequiresChallengeEvent, + ThreeDSecureAuthenticationRequiresSubmissionEvent, + ThreeDSecureAuthenticationSucceededEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, diff --git a/src/stripe.esm.node.ts b/src/stripe.esm.node.ts index d2e9208ac2..d9c133c2bf 100644 --- a/src/stripe.esm.node.ts +++ b/src/stripe.esm.node.ts @@ -1137,6 +1137,13 @@ import { TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, + ThreeDSecureAuthenticationCanceledEvent, + ThreeDSecureAuthenticationChallengeStartedEvent, + ThreeDSecureAuthenticationErroredEvent, + ThreeDSecureAuthenticationFailedEvent, + ThreeDSecureAuthenticationRequiresChallengeEvent, + ThreeDSecureAuthenticationRequiresSubmissionEvent, + ThreeDSecureAuthenticationSucceededEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, @@ -3284,6 +3291,13 @@ export declare namespace Stripe { TestHelpersTestClockDeletedEvent, TestHelpersTestClockInternalFailureEvent, TestHelpersTestClockReadyEvent, + ThreeDSecureAuthenticationCanceledEvent, + ThreeDSecureAuthenticationChallengeStartedEvent, + ThreeDSecureAuthenticationErroredEvent, + ThreeDSecureAuthenticationFailedEvent, + ThreeDSecureAuthenticationRequiresChallengeEvent, + ThreeDSecureAuthenticationRequiresSubmissionEvent, + ThreeDSecureAuthenticationSucceededEvent, TopupCanceledEvent, TopupCreatedEvent, TopupFailedEvent, diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index 445f06b396..d222508b28 100644 --- a/test/resources/generated_examples_test.spec.js +++ b/test/resources/generated_examples_test.spec.js @@ -179,7 +179,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v1/accounts/acc_123', response: - '{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","blik_recurring_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sequra_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","wero_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"},"administrative_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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","principal_place_of_business":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[{"object":"bank_account","account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","blik_recurring_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sequra_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","wero_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"},"administrative_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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","principal_place_of_business":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":null,"details":"details","details_code":"details_code","front":null}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"verification_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"risk_signals":null,"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":null,"logo":null,"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"allowed_payout_destinations":["allowed_payout_destinations"],"excluded_payout_destinations":["excluded_payout_destinations"]},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[null],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"wechat_pay_payments":{"mobile_web_domains":["mobile_web_domains"]}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"account_holder_name":"account_holder_name","account_holder_type":"account_holder_type","account_type":"account_type","available_payout_methods":["standard"],"bank_name":"bank_name","country":"country","currency":"usd","customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":null,"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":null,"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":null,"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[null]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[null]},"test_clock":null},"default_for_currency":true,"fingerprint":"fingerprint","future_requirements":{"currently_due":["currently_due"],"errors":[{"code":"verification_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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"},"birth_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"self_reported_income":{"amount":1413853096,"currency":"usd"},"self_reported_monthly_housing_payment":{"amount":1413853096,"currency":"usd"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"risk_signals":{"object":"risk_signals","session_metadata":true},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"allowed_payout_destinations":["allowed_payout_destinations"],"excluded_payout_destinations":["excluded_payout_destinations"]},"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,"schedule":"schedule","service_period_details":{"service_period_anchored_at":492609910,"start_date":1573629589},"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{"buyer_id":"buyer_id"},"blik":{"buyer_id":"buyer_id"},"boleto":{"tax_id":"tax_id"},"card":{"benefits":{"issuer":"issuer","programs":["programs"]},"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","multicapture":{"status":"available"},"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","reauthorization":{"status":"available"},"reauthorize_before":333613880,"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"},"retrieval_reference_number":"retrieval_reference_number","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"},"payment_method_reference":"payment_method_reference","type":"type","usage":"off_session"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"alliance_bank"},"gift_card":{"brand":"svs","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","last4":"last4"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"redaction":{"status":"processing"},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"payment_method":null,"setup_attempt":null},"last4":"last4"},"sequra":{},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"tamara":{},"twint":{},"type":"mobilepay","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"vipps":{},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"enablement_details":{"integration_configuration_disabled_reason":{"conflicting_field":"conflicting_field"},"source":"managed_payments"},"liability":{"account":null,"type":"account"}},"billing_cadence":"billing_cadence","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","feedback_option":null,"reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bacs_debit":{"debit_behavior":"debit_behavior","verification_method":"payer_name_verification"},"bancontact":{"preferred_language":"fr"},"billie":{"company_details":{"registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registered_name":"registered_name","registration_number":"registration_number","registration_type":"no_pno","vat":"vat"}},"bizum":{"mandate_options":{"amount":1413853096,"amount_type":"fixed"}},"blik":{"mandate_options":{"expires_at":833811170}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"check_scan":{},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"},"wechat_pay":{"app_id":"app_id","client":"ios"}},"payment_method_types":["fpx"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"cancel_at_period_end":true,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"final_payment_failure"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"ru_inn","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"test_clock":{"object":"test_helpers.test_clock","created":1028554472,"deletes_after":73213179,"frozen_time":2033541876,"id":"obj_123","livemode":true,"name":"name","status":"advancing","status_details":{"advancing":{"target_frozen_time":833971362}}}},"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","blik_recurring_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sequra_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","wero_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"},"administrative_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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","principal_place_of_business":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"verification_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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"},"birth_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"self_reported_income":{"amount":1413853096,"currency":"usd"},"self_reported_monthly_housing_payment":{"amount":1413853096,"currency":"usd"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"risk_signals":{"object":"risk_signals","session_metadata":true},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"allowed_payout_destinations":["allowed_payout_destinations"],"excluded_payout_destinations":["excluded_payout_destinations"]},"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":"ru_inn","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"wechat_pay_payments":{"mobile_web_domains":["mobile_web_domains"]}},"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,"schedule":"schedule","service_period_details":{"service_period_anchored_at":492609910,"start_date":1573629589},"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{"buyer_id":"buyer_id"},"blik":{"buyer_id":"buyer_id"},"boleto":{"tax_id":"tax_id"},"card":{"benefits":{"issuer":"issuer","programs":["programs"]},"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","multicapture":{"status":"available"},"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","reauthorization":{"status":"available"},"reauthorize_before":333613880,"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"},"retrieval_reference_number":"retrieval_reference_number","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"},"payment_method_reference":"payment_method_reference","type":"type","usage":"off_session"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"alliance_bank"},"gift_card":{"brand":"svs","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","last4":"last4"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"redaction":{"status":"processing"},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"payment_method":null,"setup_attempt":null},"last4":"last4"},"sequra":{},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"tamara":{},"twint":{},"type":"mobilepay","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"vipps":{},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"enablement_details":{"integration_configuration_disabled_reason":{"conflicting_field":"conflicting_field"},"source":"managed_payments"},"liability":{"account":null,"type":"account"}},"billing_cadence":"billing_cadence","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","feedback_option":null,"reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bacs_debit":{"debit_behavior":"debit_behavior","verification_method":"payer_name_verification"},"bancontact":{"preferred_language":"fr"},"billie":{"company_details":{"registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registered_name":"registered_name","registration_number":"registration_number","registration_type":"no_pno","vat":"vat"}},"bizum":{"mandate_options":{"amount":1413853096,"amount_type":"fixed"}},"blik":{"mandate_options":{"expires_at":833811170}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"check_scan":{},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"},"wechat_pay":{"app_id":"app_id","client":"ios"}},"payment_method_types":["fpx"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"cancel_at_period_end":true,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"final_payment_failure"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"ru_inn","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":"ru_inn","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"wechat_pay_payments":{"mobile_web_domains":["mobile_web_domains"]}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"}', + '{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","blik_recurring_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sequra_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","wero_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"},"administrative_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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","principal_place_of_business":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[{"object":"bank_account","account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","blik_recurring_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sequra_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","wero_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"},"administrative_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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","principal_place_of_business":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":null,"details":"details","details_code":"details_code","front":null}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"verification_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"risk_signals":null,"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":null,"logo":null,"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"allowed_payout_destinations":["allowed_payout_destinations"],"excluded_payout_destinations":["excluded_payout_destinations"]},"card_issuing":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"card_payments":{"decline_on":{"avs_failure":true,"cvc_failure":true},"statement_descriptor_prefix":"statement_descriptor_prefix","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"dashboard":{"display_name":"display_name","timezone":"timezone"},"invoices":{"default_account_tax_ids":[null],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"wechat_pay_mobile_web_payments":{"domains":["domains"]}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"},"account_holder_name":"account_holder_name","account_holder_type":"account_holder_type","account_type":"account_type","available_payout_methods":["standard"],"bank_name":"bank_name","country":"country","currency":"usd","customer":{"object":"customer","address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"balance":339185956,"business_name":"business_name","cash_balance":null,"created":1028554472,"currency":"usd","customer_account":"customer_account","default_source":null,"delinquent":true,"description":"description","discount":null,"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":null,"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[null]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[null]},"test_clock":null},"default_for_currency":true,"fingerprint":"fingerprint","future_requirements":{"currently_due":["currently_due"],"errors":[{"code":"verification_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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"},"birth_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"self_reported_income":{"amount":1413853096,"currency":"usd"},"self_reported_monthly_housing_payment":{"amount":1413853096,"currency":"usd"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"risk_signals":{"object":"risk_signals","session_metadata":true},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[{"object":"file_link","created":1028554472,"expired":true,"expires_at":833811170,"file":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"url":"url"}]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"allowed_payout_destinations":["allowed_payout_destinations"],"excluded_payout_destinations":["excluded_payout_destinations"]},"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,"schedule":"schedule","service_period_details":{"service_period_anchored_at":492609910,"start_date":1573629589},"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{"buyer_id":"buyer_id"},"blik":{"buyer_id":"buyer_id"},"boleto":{"tax_id":"tax_id"},"card":{"benefits":{"issuer":"issuer","programs":["programs"]},"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","multicapture":{"status":"available"},"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","reauthorization":{"status":"available"},"reauthorize_before":333613880,"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"},"retrieval_reference_number":"retrieval_reference_number","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"}},"carecredit":{},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":1028554472,"crypto":{},"custom":{"display_name":"display_name","logo":{"content_type":"content_type","url":"url"},"payment_method_reference":"payment_method_reference","type":"type","usage":"off_session"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"alliance_bank"},"getflex":{},"gift_card":{"brand":"svs","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","last4":"last4"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rakuten_pay":{},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"redaction":{"status":"processing"},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"payment_method":null,"setup_attempt":null},"last4":"last4"},"sequra":{},"sezzle":{},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"tamara":{},"twint":{},"type":"custom","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"vipps":{},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"enablement_details":{"integration_configuration_disabled_reason":{"conflicting_field":"conflicting_field"},"source":"managed_payments"},"liability":{"account":null,"type":"account"}},"billing_cadence":"billing_cadence","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","feedback_option":null,"reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bacs_debit":{"debit_behavior":"debit_behavior","verification_method":"payer_name_verification"},"bancontact":{"preferred_language":"fr"},"billie":{"company_details":{"registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registered_name":"registered_name","registration_number":"registration_number","registration_type":"no_pno","vat":"vat"}},"bizum":{"mandate_options":{"amount":1413853096,"amount_type":"fixed"}},"blik":{"mandate_options":{"expires_at":833811170}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"check_scan":{},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"},"wechat_pay":{"app_id":"app_id","client":"ios"}},"payment_method_types":["fpx"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"cancel_at_period_end":true,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"final_payment_failure"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"ru_inn","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}]},"test_clock":{"object":"test_helpers.test_clock","created":1028554472,"deletes_after":73213179,"frozen_time":2033541876,"id":"obj_123","livemode":true,"name":"name","status":"advancing","status_details":{"advancing":{"target_frozen_time":833971362}}}},"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":{"object":"account","business_profile":{"annual_revenue":{"amount":1413853096,"currency":"usd","fiscal_year_end":"fiscal_year_end"},"estimated_worker_count":884794319,"mcc":"mcc","minority_owned_business_designation":["prefer_not_to_answer"],"monthly_estimated_revenue":{"amount":1413853096,"currency":"usd"},"name":"name","product_description":"product_description","specified_commercial_transactions_act_url":"specified_commercial_transactions_act_url","support_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"support_email":"support_email","support_phone":"support_phone","support_url":"support_url","url":"url"},"business_type":"government_entity","capabilities":{"acss_debit_payments":"inactive","affirm_payments":"pending","afterpay_clearpay_payments":"inactive","alma_payments":"pending","amazon_pay_payments":"inactive","app_distribution":"inactive","au_becs_debit_payments":"active","automatic_indirect_tax":"pending","bacs_debit_payments":"active","bancontact_payments":"inactive","bank_transfer_payments":"pending","billie_payments":"active","bizum_payments":"active","blik_payments":"inactive","blik_recurring_payments":"inactive","boleto_payments":"inactive","card_issuing":"active","card_payments":"active","cartes_bancaires_payments":"active","cashapp_payments":"active","crypto_payments":"inactive","eps_payments":"inactive","fpx_payments":"active","gb_bank_transfer_payments":"pending","giropay_payments":"active","gopay_payments":"active","grabpay_payments":"pending","id_bank_transfer_payments":"pending","id_bank_transfer_payments_bca":"active","ideal_payments":"inactive","india_international_payments":"inactive","jcb_payments":"inactive","jp_bank_transfer_payments":"pending","kakao_pay_payments":"active","klarna_payments":"active","konbini_payments":"active","kr_card_payments":"inactive","legacy_payments":"active","link_payments":"inactive","mb_way_payments":"active","mobilepay_payments":"pending","multibanco_payments":"inactive","mx_bank_transfer_payments":"pending","naver_pay_payments":"active","nz_bank_account_becs_debit_payments":"active","oxxo_payments":"pending","p24_payments":"inactive","pay_by_bank_payments":"active","payco_payments":"inactive","paynow_payments":"active","paypal_payments":"inactive","paypay_payments":"inactive","payto_payments":"pending","pix_payments":"inactive","promptpay_payments":"active","qris_payments":"pending","rechnung_payments":"inactive","revolut_pay_payments":"inactive","samsung_pay_payments":"pending","satispay_payments":"pending","scalapay_payments":"inactive","sepa_bank_transfer_payments":"pending","sepa_debit_payments":"inactive","sequra_payments":"inactive","shopeepay_payments":"active","sofort_payments":"active","stripe_balance_payments":"active","sunbit_payments":"pending","swish_payments":"inactive","tax_reporting_us_1099_k":"inactive","tax_reporting_us_1099_misc":"pending","transfers":"inactive","treasury":"pending","treasury_evolve":"inactive","treasury_fifth_third":"inactive","treasury_goldman_sachs":"active","twint_payments":"inactive","upi_payments":"pending","us_bank_account_ach_payments":"pending","us_bank_transfer_payments":"pending","wero_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"},"administrative_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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","principal_place_of_business":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registration_date":{"day":99228,"month":104080000,"year":3704893},"representative_declaration":{"date":3076014,"ip":"ip","user_agent":"user_agent"},"structure":"single_member_llc","tax_id_provided":true,"tax_id_registrar":"tax_id_registrar","vat_id_provided":true,"verification":{"document":{"back":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"details":"details","details_code":"details_code","front":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"}}}},"controller":{"application":{"loss_liable":true,"onboarding_owner":true,"pricing_controls":true},"dashboard":{"type":"express"},"fees":{"payer":"account"},"is_controller":true,"losses":{"payments":"stripe"},"requirement_collection":"application","stripe_dashboard":{"type":"express"},"type":"account"},"country":"country","created":1028554472,"default_currency":"usd","details_submitted":true,"email":"email","external_accounts":{"object":"list","has_more":false,"data":[null]},"future_requirements":{"alternatives":[{"alternative_fields_due":["alternative_fields_due"],"original_fields_due":["original_fields_due"]}],"current_deadline":270965154,"currently_due":["currently_due"],"disabled_reason":"rejected.listed","errors":[{"code":"verification_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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"},"birth_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"self_reported_income":{"amount":1413853096,"currency":"usd"},"self_reported_monthly_housing_payment":{"amount":1413853096,"currency":"usd"},"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_legal_entity_structure_mismatch","details":{"partner_rejection_code":"partner_rejection_code"},"reason":"reason","requirement":"requirement"}],"eventually_due":["eventually_due"],"past_due":["past_due"],"pending_verification":["pending_verification"]},"risk_controls":{"charges":{"pause_requested":true},"payouts":{"pause_requested":true},"rejected_reason":"fraud_other"},"risk_signals":{"object":"risk_signals","session_metadata":true},"settings":{"bacs_debit_payments":{"display_name":"display_name","service_user_number":"service_user_number"},"bank_bca_onboarding":{"account_holder_name":"account_holder_name","business_account_number":"business_account_number"},"branding":{"icon":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"logo":{"object":"file","created":1028554472,"expires_at":833811170,"filename":"filename","id":"obj_123","links":{"object":"list","has_more":false,"data":[null]},"purpose":"customer_signature","size":3530753,"title":"title","type":"type","url":"url"},"primary_color":"primary_color","secondary_color":"secondary_color"},"capital":{"allowed_payout_destinations":["allowed_payout_destinations"],"excluded_payout_destinations":["excluded_payout_destinations"]},"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":"ru_inn","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"wechat_pay_mobile_web_payments":{"domains":["domains"]}},"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,"schedule":"schedule","service_period_details":{"service_period_anchored_at":492609910,"start_date":1573629589},"source":{"coupon":null,"type":"coupon"},"start":109757538,"subscription":"subscription","subscription_item":"subscription_item"},"email":"email","id":"obj_123","individual_name":"individual_name","invoice_credit_balance":{"key":1267696360},"invoice_prefix":"invoice_prefix","invoice_settings":{"custom_fields":[{"name":"name","value":"value"}],"default_payment_method":{"object":"payment_method","acss_debit":{"account_number":"account_number","bank_name":"bank_name","fingerprint":"fingerprint","institution_number":"institution_number","last4":"last4","transit_number":"transit_number"},"affirm":{},"afterpay_clearpay":{},"alipay":{},"allow_redisplay":"unspecified","alma":{},"amazon_pay":{},"au_becs_debit":{"bsb_number":"bsb_number","fingerprint":"fingerprint","last4":"last4"},"bacs_debit":{"fingerprint":"fingerprint","last4":"last4","sort_code":"sort_code"},"bancontact":{},"billie":{},"billing_details":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"email":"email","name":"name","phone":"phone","tax_id":"tax_id"},"bizum":{"buyer_id":"buyer_id"},"blik":{"buyer_id":"buyer_id"},"boleto":{"tax_id":"tax_id"},"card":{"benefits":{"issuer":"issuer","programs":["programs"]},"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","multicapture":{"status":"available"},"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","reauthorization":{"status":"available"},"reauthorize_before":333613880,"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"},"retrieval_reference_number":"retrieval_reference_number","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"}},"carecredit":{},"cashapp":{"buyer_id":"buyer_id","cashtag":"cashtag"},"created":1028554472,"crypto":{},"custom":{"display_name":"display_name","logo":{"content_type":"content_type","url":"url"},"payment_method_reference":"payment_method_reference","type":"type","usage":"off_session"},"customer":null,"customer_account":"customer_account","customer_balance":{},"eps":{"bank":"btv_vier_lander_bank"},"fpx":{"account_holder_type":"individual","bank":"alliance_bank"},"getflex":{},"gift_card":{"brand":"svs","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","last4":"last4"},"giropay":{},"gopay":{},"grabpay":{},"id":"obj_123","id_bank_transfer":{"bank":"bri","bank_code":"bank_code","bank_name":"bank_name","display_name":"display_name"},"ideal":{"bank":"nn","bic":"HANDNL2A"},"interac_present":{"brand":"brand","cardholder_name":"cardholder_name","country":"country","description":"description","exp_month":40417826,"exp_year":1940618977,"fingerprint":"fingerprint","funding":"funding","iin":"iin","issuer":"issuer","last4":"last4","networks":{"available":["available"],"preferred":"preferred"},"preferred_locales":["preferred_locales"],"read_method":"magnetic_stripe_track2"},"kakao_pay":{},"klarna":{"dob":{"day":99228,"month":104080000,"year":3704893}},"konbini":{},"kr_card":{"brand":"lotte","last4":"last4"},"latest_active_mandate":null,"link":{"email":"email","persistent_token":"persistent_token"},"livemode":true,"mb_way":{},"metadata":{"key":"metadata"},"mobilepay":{},"multibanco":{},"naver_pay":{"buyer_id":"buyer_id","funding":"points"},"nz_bank_account":{"account_holder_name":"account_holder_name","bank_code":"bank_code","bank_name":"bank_name","branch_code":"branch_code","last4":"last4","suffix":"suffix"},"oxxo":{},"p24":{"bank":"noble_pay"},"pay_by_bank":{},"payco":{},"paynow":{},"paypal":{"country":"country","fingerprint":"fingerprint","payer_email":"payer_email","payer_id":"payer_id","verified_email":"verified_email"},"paypay":{},"payto":{"bsb_number":"bsb_number","last4":"last4","pay_id":"pay_id"},"pix":{"fingerprint":"fingerprint"},"promptpay":{},"qris":{},"radar_options":{"session":"session"},"rakuten_pay":{},"rechnung":{"dob":{"day":99228,"month":104080000,"year":3704893}},"redaction":{"status":"processing"},"revolut_pay":{},"samsung_pay":{},"satispay":{},"scalapay":{},"sepa_debit":{"bank_code":"bank_code","branch_code":"branch_code","country":"country","fingerprint":"fingerprint","generated_from":{"charge":null,"payment_method":null,"setup_attempt":null},"last4":"last4"},"sequra":{},"sezzle":{},"shared_payment_granted_token":"shared_payment_granted_token","shopeepay":{},"sofort":{"country":"country"},"stripe_balance":{"account":"account"},"sunbit":{},"swish":{},"tamara":{},"twint":{},"type":"custom","upi":{"vpa":"vpa"},"us_bank_account":{"account_holder_type":"individual","account_number":"account_number","account_type":"checking","bank_name":"bank_name","financial_connections_account":"financial_connections_account","fingerprint":"fingerprint","last4":"last4","networks":{"preferred":"preferred","supported":["ach"]},"routing_number":"routing_number","status_details":{"blocked":{"network_code":"R29","reason":"bank_account_frozen"}}},"vipps":{},"wechat_pay":{},"zip":{}},"footer":"footer","rendering_options":{"amount_tax_display":"amount_tax_display","template":"template"}},"livemode":true,"metadata":{"key":"metadata"},"name":"name","next_invoice_sequence":1356358751,"phone":"phone","preferred_locales":["preferred_locales"],"redaction":{"status":"processing"},"shipping":{"address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"carrier":"carrier","name":"name","phone":"phone","tracking_number":"tracking_number"},"sources":{"object":"list","has_more":false,"data":[null]},"subscriptions":{"object":"list","has_more":false,"data":[{"object":"subscription","application":null,"application_fee_percent":282303517,"automatic_tax":{"disabled_reason":"requires_location_inputs","enabled":true,"enablement_details":{"integration_configuration_disabled_reason":{"conflicting_field":"conflicting_field"},"source":"managed_payments"},"liability":{"account":null,"type":"account"}},"billing_cadence":"billing_cadence","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","feedback_option":null,"reason":"canceled_by_retention_policy"},"collection_method":"charge_automatically","created":1028554472,"currency":"usd","customer":null,"customer_account":"customer_account","days_until_due":555548757,"default_payment_method":null,"default_source":null,"default_tax_rates":[null],"description":"description","discounts":[null],"ended_at":1730606040,"id":"obj_123","invoice_settings":{"account_tax_ids":[null],"custom_fields":[{"name":"name","value":"value"}],"description":"description","footer":"footer","issuer":{"account":null,"type":"account"}},"items":{"object":"list","has_more":false,"data":[null]},"last_price_migration_error":{"errored_at":1641242315,"failed_transitions":[{"source_price":"source_price","target_price":"target_price"}],"type":"price_uniqueness_violation"},"latest_invoice":null,"livemode":true,"managed_payments":{"enabled":true},"metadata":{"key":"metadata"},"next_pending_invoice_item_invoice":1422145209,"on_behalf_of":null,"pause_collection":{"behavior":"mark_uncollectible","resumes_at":556162772},"payment_settings":{"payment_method_options":{"acss_debit":{"mandate_options":{"transaction_type":"personal"},"verification_method":"microdeposits"},"bacs_debit":{"debit_behavior":"debit_behavior","verification_method":"payer_name_verification"},"bancontact":{"preferred_language":"fr"},"billie":{"company_details":{"registered_address":{"city":"city","country":"country","line1":"line1","line2":"line2","postal_code":"postal_code","state":"state"},"registered_name":"registered_name","registration_number":"registration_number","registration_type":"no_pno","vat":"vat"}},"bizum":{"mandate_options":{"amount":1413853096,"amount_type":"fixed"}},"blik":{"mandate_options":{"expires_at":833811170}},"card":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description"},"network":"diners","request_three_d_secure":"any"},"check_scan":{},"customer_balance":{"bank_transfer":{"eu_bank_transfer":{"country":"ES"},"type":"type"},"funding_type":"bank_transfer"},"id_bank_transfer":{},"konbini":{},"payto":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","purpose":"pension"}},"pix":{"expires_after_seconds":1859901103,"mandate_options":{"amount":1413853096,"amount_includes_iof":"never","end_date":"end_date","payment_schedule":"yearly"}},"sepa_debit":{},"upi":{"mandate_options":{"amount":1413853096,"amount_type":"maximum","description":"description","end_date":1725067410}},"us_bank_account":{"financial_connections":{"filters":{"account_subcategories":["checking"],"institution":"institution"},"permissions":["balances"],"prefetch":["inferred_balances"]},"verification_method":"microdeposits"},"wechat_pay":{"app_id":"app_id","client":"ios"}},"payment_method_types":["fpx"],"save_default_payment_method":"off"},"pending_invoice_item_interval":{"interval":"month","interval_count":797691627},"pending_setup_intent":null,"pending_update":{"billing_cycle_anchor":672980850,"cancel_at_period_end":true,"discount":null,"discounts":[null],"expires_at":833811170,"metadata":{"key":"metadata"},"prebilling_iterations":1175045469,"subscription_items":[null],"trial_end":816100302,"trial_from_plan":true},"prebilling":{"invoice":null,"period_end":384656733,"period_start":301041764,"update_behavior":"prebill"},"presentment_details":{"presentment_currency":"usd"},"schedule":null,"start_date":1573629589,"status":"trialing","status_details":{"paused":{"subscription":{"type":"final_payment_failure"},"transitioned_at":1968518242,"type":"subscription"}},"test_clock":null,"transfer_data":{"amount_percent":268993374,"destination":null},"trial_end":816100302,"trial_settings":{"end_behavior":{"billing_cycle_anchor":"now","missing_payment_method":"cancel"}},"trial_start":1719733753}]},"tax":{"automatic_tax":"unrecognized_location","ip_address":"ip_address","location":{"country":"country","source":"ip_address","state":"state"},"provider":"stripe"},"tax_exempt":"reverse","tax_ids":{"object":"list","has_more":false,"data":[{"object":"tax_id","country":"country","created":1028554472,"customer":null,"customer_account":"customer_account","id":"obj_123","livemode":true,"owner":{"account":null,"application":null,"customer":null,"customer_account":"customer_account","type":"customer"},"type":"ru_inn","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":"ru_inn","value":"value","verification":{"status":"unverified","verified_address":"verified_address","verified_name":"verified_name"}}],"hosted_payment_method_save":"offer"},"payments":{"email_customers_on_successful_payment":true,"statement_descriptor":"statement_descriptor","statement_descriptor_kana":"statement_descriptor_kana","statement_descriptor_kanji":"statement_descriptor_kanji","statement_descriptor_prefix_kana":"statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji":"statement_descriptor_prefix_kanji"},"payouts":{"debit_negative_balances":true,"schedule":{"delay_days":1647351405,"interval":"interval","monthly_anchor":1920305369,"monthly_payout_days":[656202210],"weekly_anchor":"weekly_anchor","weekly_payout_days":["friday"]},"statement_descriptor":"statement_descriptor"},"paypay_payments":{"additional_files":["additional_files"],"goods_type":"other","site":{"accessible":{},"in_development":{"password_provided":true,"username":"username"},"restricted":{"payment_flow_file":"payment_flow_file"},"type":"accessible"}},"sepa_debit_payments":{"creditor_id":"creditor_id"},"smart_disputes":{"auto_respond":{"preference":"on","value":"on"}},"tax_forms":{"consented_to_paperless_delivery":true},"treasury":{"tos_acceptance":{"date":3076014,"ip":"ip","user_agent":"user_agent"}},"wechat_pay_mobile_web_payments":{"domains":["domains"]}},"tos_acceptance":{"date":3076014,"ip":"ip","service_agreement":"service_agreement","user_agent":"user_agent"},"type":"none"}', }, ]); const account = await stripe.accounts.retrieve('acc_123'); @@ -5931,7 +5931,7 @@ describe('Generated tests', function() { }, ]); const accountEvaluation = await stripe.v2.core.accountEvaluations.create({ - signals: ['fraudulent_website'], + signals: ['user_multi_accounting'], }); expect(accountEvaluation).not.to.be.null; }); @@ -6477,22 +6477,6 @@ describe('Generated tests', function() { }); it('test_v2_core_vault_gb_bank_account_post_2', async function() { - const stripe = testUtils.createMockClient([ - { - method: 'POST', - path: - '/v2/core/vault/gb_bank_accounts/id_123/acknowledge_confirmation_of_payee', - response: - '{"object":"v2.core.vault.gb_bank_account","archived":true,"bank_account_type":"toza","bank_name":"bank_name","confirmation_of_payee":{"result":{"created":"1970-01-12T21:42:34.472Z","match_result":"unavailable","matched":{},"message":"message","provided":{"business_type":"personal","name":"name"}},"status":"awaiting_acknowledgement"},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","livemode":true,"restricted":true,"supported_currencies":["supported_currencies"]}', - }, - ]); - const gbBankAccount = await stripe.v2.core.vault.gbBankAccounts.acknowledgeConfirmationOfPayee( - 'id_123' - ); - expect(gbBankAccount).not.to.be.null; - }); - - it('test_v2_core_vault_gb_bank_account_post_3', async function() { const stripe = testUtils.createMockClient([ { method: 'POST', @@ -6507,22 +6491,6 @@ describe('Generated tests', function() { expect(gbBankAccount).not.to.be.null; }); - it('test_v2_core_vault_gb_bank_account_post_4', async function() { - const stripe = testUtils.createMockClient([ - { - method: 'POST', - path: - '/v2/core/vault/gb_bank_accounts/id_123/initiate_confirmation_of_payee', - response: - '{"object":"v2.core.vault.gb_bank_account","archived":true,"bank_account_type":"toza","bank_name":"bank_name","confirmation_of_payee":{"result":{"created":"1970-01-12T21:42:34.472Z","match_result":"unavailable","matched":{},"message":"message","provided":{"business_type":"personal","name":"name"}},"status":"awaiting_acknowledgement"},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","last4":"last4","livemode":true,"restricted":true,"supported_currencies":["supported_currencies"]}', - }, - ]); - const gbBankAccount = await stripe.v2.core.vault.gbBankAccounts.initiateConfirmationOfPayee( - 'id_123' - ); - expect(gbBankAccount).not.to.be.null; - }); - it('test_v2_core_vault_network_token_post', async function() { const stripe = testUtils.createMockClient([ { @@ -8221,7 +8189,7 @@ describe('Generated tests', function() { value: 96, currency: 'USD', }, - network: 'swift', + network: 'ach', } ); expect(financialAddressCreditSimulation).not.to.be.null; @@ -8520,21 +8488,6 @@ describe('Generated tests', function() { }); it('test_v2_payments_off_session_payment_post_3', async function() { - const stripe = testUtils.createMockClient([ - { - method: 'POST', - path: '/v2/payments/off_session_payments/id_123/capture', - response: - '{"object":"v2.payments.off_session_payment","amount_requested":{"currency":"USD","value":47},"cadence":"unscheduled","created":"1970-01-12T21:42:34.472Z","customer":"customer","id":"obj_123","livemode":true,"metadata":{"key":"metadata"},"payment_method":"payment_method","payments_orchestration":{"enabled":true},"retry_details":{"attempts":542738246,"retry_strategy":"scheduled"},"status":"requires_capture"}', - }, - ]); - const offSessionPayment = await stripe.v2.payments.offSessionPayments.capture( - 'id_123' - ); - expect(offSessionPayment).not.to.be.null; - }); - - it('test_v2_payments_off_session_payment_post_4', async function() { const stripe = testUtils.createMockClient([ { method: 'POST', @@ -8549,7 +8502,7 @@ describe('Generated tests', function() { expect(offSessionPayment).not.to.be.null; }); - it('test_v2_payments_off_session_payment_post_5', async function() { + it('test_v2_payments_off_session_payment_post_4', async function() { const stripe = testUtils.createMockClient([ { method: 'POST', @@ -9226,7 +9179,7 @@ describe('Generated tests', function() { method: 'POST', path: '/v2/signals/account_evaluations', response: - '{"object":"v2.signals.account_evaluation","account_details":{},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"pending_signals":["fraudulent_website"],"requested_signals":["user_multi_accounting"]}', + '{"object":"v2.signals.account_evaluation","account_details":{},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"pending_signals":["user_account_sharing"],"requested_signals":["user_merchant_fit"]}', }, ]); const accountEvaluation = await stripe.v2.signals.accountEvaluations.create( @@ -9235,6 +9188,7 @@ describe('Generated tests', function() { account: 'account', customer: 'customer', data: { + contact_email: 'contact_email', defaults: { profile: { business_url: 'business_url', @@ -9249,7 +9203,7 @@ describe('Generated tests', function() { }, }, }, - requested_signals: ['user_multi_accounting'], + requested_signals: ['user_merchant_fit'], } ); expect(accountEvaluation).not.to.be.null; @@ -9261,7 +9215,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/signals/account_evaluations/id_123', response: - '{"object":"v2.signals.account_evaluation","account_details":{},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"pending_signals":["fraudulent_website"],"requested_signals":["user_multi_accounting"]}', + '{"object":"v2.signals.account_evaluation","account_details":{},"created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"pending_signals":["user_account_sharing"],"requested_signals":["user_merchant_fit"]}', }, ]); const accountEvaluation = await stripe.v2.signals.accountEvaluations.retrieve( @@ -9274,13 +9228,14 @@ describe('Generated tests', function() { const stripe = testUtils.createMockClient([ { method: 'GET', - path: '/v2/signals/account_signals?type[0]=fraudulent_merchant', + path: + '/v2/signals/account_signals?type[0]=payment_delinquency_exposure', response: - '{"data":[{"object":"v2.signals.account_signal","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"type":"fraudulent_merchant"}],"next_page_url":null,"previous_page_url":null}', + '{"data":[{"object":"v2.signals.account_signal","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"type":"payment_delinquency_exposure"}],"next_page_url":null,"previous_page_url":null}', }, ]); const accountSignals = await stripe.v2.signals.accountSignals.list({ - type: ['fraudulent_merchant'], + type: ['payment_delinquency_exposure'], }); expect(accountSignals).not.to.be.null; }); @@ -9291,7 +9246,7 @@ describe('Generated tests', function() { method: 'GET', path: '/v2/signals/account_signals/id_123', response: - '{"object":"v2.signals.account_signal","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"type":"fraudulent_merchant"}', + '{"object":"v2.signals.account_signal","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"type":"payment_delinquency_exposure"}', }, ]); const accountSignal = await stripe.v2.signals.accountSignals.retrieve(