From c9a6d40b87010c93d322ab515d99c605eea9422a Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:23:14 +0000 Subject: [PATCH] Update OpenAPI for 0b0b7ce8bfb8e1814b651f1abcbdf35278de8c19 --- api/openapi-spec/spec3.sdk.json | 2154 ++++++++++++++++++++++++++++++- pkg/cmd/resources_cmds.go | 650 +++++----- 2 files changed, 2446 insertions(+), 358 deletions(-) diff --git a/api/openapi-spec/spec3.sdk.json b/api/openapi-spec/spec3.sdk.json index a9094e19..56b521c1 100644 --- a/api/openapi-spec/spec3.sdk.json +++ b/api/openapi-spec/spec3.sdk.json @@ -618,8 +618,6 @@ } }, "required": [ - "annual_revenue", - "estimated_worker_count", "mcc", "name", "support_address", @@ -976,6 +974,15 @@ ], "type": "string" }, + "pay_by_bank_payments": { + "description": "The status of the pay_by_bank payments capability of the account, or whether the account can directly process pay_by_bank charges.", + "enum": [ + "active", + "inactive", + "pending" + ], + "type": "string" + }, "payco_payments": { "description": "The status of the Payco capability of the account, or whether the account can directly process Payco payments.", "enum": [ @@ -1170,6 +1177,7 @@ "naver_pay_payments", "oxxo_payments", "p24_payments", + "pay_by_bank_payments", "payco_payments", "paynow_payments", "promptpay_payments", @@ -1239,7 +1247,7 @@ "type": "array" }, "eventually_due": { - "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.", + "description": "Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.", "items": { "maxLength": 5000, "type": "string" @@ -1340,7 +1348,7 @@ "type": "array" }, "eventually_due": { - "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.", + "description": "Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.", "items": { "maxLength": 5000, "type": "string" @@ -1558,7 +1566,7 @@ "type": "array" }, "eventually_due": { - "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.", + "description": "Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.", "items": { "maxLength": 5000, "type": "string" @@ -1892,7 +1900,7 @@ "type": "array" }, "eventually_due": { - "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.", + "description": "Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.", "items": { "maxLength": 5000, "type": "string" @@ -2556,6 +2564,11 @@ "api_errors": { "description": "", "properties": { + "advice_code": { + "description": "For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.", + "maxLength": 5000, + "type": "string" + }, "charge": { "description": "For card errors, the ID of the failed charge.", "maxLength": 5000, @@ -5672,6 +5685,7 @@ }, "required": [ "amount", + "credits_application_invoice_voided", "type" ], "title": "BillingCreditGrantsResourceBalanceCredit", @@ -6667,6 +6681,16 @@ "nullable": true, "type": "string" }, + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.", + "enum": [ + "always", + "limited", + "unspecified" + ], + "nullable": true, + "type": "string" + }, "available_payout_methods": { "description": "A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.", "items": { @@ -6851,6 +6875,7 @@ "metadata", "name", "object", + "regulated_status", "tokenization_method" ], "title": "Card", @@ -7939,6 +7964,16 @@ "charge_outcome": { "description": "", "properties": { + "advice_code": { + "description": "An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).", + "enum": [ + "confirm_card_data", + "do_not_try_again", + "try_again_later" + ], + "nullable": true, + "type": "string" + }, "network_advice_code": { "description": "For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.", "maxLength": 5000, @@ -8004,6 +8039,7 @@ } }, "required": [ + "advice_code", "network_advice_code", "network_decline_code", "network_status", @@ -8017,6 +8053,7 @@ "rule" ], "x-stripeMostCommon": [ + "advice_code", "network_advice_code", "network_decline_code", "network_status", @@ -8234,6 +8271,14 @@ "nullable": true, "type": "string" }, + "discounts": { + "description": "List of coupons and promotion codes attached to the Checkout Session.", + "items": { + "$ref": "#/components/schemas/payment_pages_checkout_session_discount" + }, + "nullable": true, + "type": "array" + }, "expires_at": { "description": "The timestamp at which the Checkout Session will expire.", "format": "unix-time", @@ -8387,7 +8432,8 @@ "setup", "subscription" ], - "type": "string" + "type": "string", + "x-stripeBypassValidation": true }, "object": { "description": "String representing the object's type. Objects of the same type share the same value.", @@ -8709,6 +8755,7 @@ "custom_text", "customer", "customer_details", + "discounts", "invoice", "invoice_creation", "line_items", @@ -11238,6 +11285,9 @@ "p24": { "$ref": "#/components/schemas/payment_method_p24" }, + "pay_by_bank": { + "$ref": "#/components/schemas/payment_method_pay_by_bank" + }, "payco": { "$ref": "#/components/schemas/payment_method_payco" }, @@ -11305,6 +11355,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -11374,6 +11425,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -11622,6 +11674,18 @@ "documents": { "$ref": "#/components/schemas/connect_embedded_base_config_claim" }, + "financial_account": { + "$ref": "#/components/schemas/connect_embedded_financial_account_config_claim" + }, + "financial_account_transactions": { + "$ref": "#/components/schemas/connect_embedded_financial_account_transactions_config_claim" + }, + "issuing_card": { + "$ref": "#/components/schemas/connect_embedded_issuing_card_config_claim" + }, + "issuing_cards_list": { + "$ref": "#/components/schemas/connect_embedded_issuing_cards_list_config_claim" + }, "notification_banner": { "$ref": "#/components/schemas/connect_embedded_account_config_claim" }, @@ -11649,6 +11713,10 @@ "account_onboarding", "balances", "documents", + "financial_account", + "financial_account_transactions", + "issuing_card", + "issuing_cards_list", "notification_banner", "payment_details", "payments", @@ -11664,6 +11732,10 @@ "account_onboarding", "balances", "documents", + "financial_account", + "financial_account_transactions", + "issuing_card", + "issuing_cards_list", "notification_banner", "payment_details", "payments", @@ -11677,6 +11749,10 @@ "account_onboarding", "balances", "documents", + "financial_account", + "financial_account_transactions", + "issuing_card", + "issuing_cards_list", "notification_banner", "payment_details", "payments", @@ -11730,6 +11806,270 @@ "in_package": "" } }, + "connect_embedded_financial_account_config_claim": { + "description": "", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "$ref": "#/components/schemas/connect_embedded_financial_account_features" + } + }, + "required": [ + "enabled", + "features" + ], + "title": "ConnectEmbeddedFinancialAccountConfigClaim", + "type": "object", + "x-expandableFields": [ + "features" + ], + "x-stripeMostCommon": [ + "enabled", + "features" + ], + "x-stripeResource": { + "class_name": "FinancialAccountConfig", + "in_package": "" + } + }, + "connect_embedded_financial_account_features": { + "description": "", + "properties": { + "disable_stripe_user_authentication": { + "description": "Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don’t set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.", + "type": "boolean" + }, + "external_account_collection": { + "description": "Whether to allow external accounts to be linked for money transfer.", + "type": "boolean" + }, + "send_money": { + "description": "Whether to allow sending money.", + "type": "boolean" + }, + "transfer_balance": { + "description": "Whether to allow transferring balance.", + "type": "boolean" + } + }, + "required": [ + "disable_stripe_user_authentication", + "external_account_collection", + "send_money", + "transfer_balance" + ], + "title": "ConnectEmbeddedFinancialAccountFeatures", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "disable_stripe_user_authentication", + "external_account_collection", + "send_money", + "transfer_balance" + ], + "x-stripeResource": { + "class_name": "FinancialAccountFeatures", + "in_package": "" + } + }, + "connect_embedded_financial_account_transactions_config_claim": { + "description": "", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "$ref": "#/components/schemas/connect_embedded_financial_account_transactions_features" + } + }, + "required": [ + "enabled", + "features" + ], + "title": "ConnectEmbeddedFinancialAccountTransactionsConfigClaim", + "type": "object", + "x-expandableFields": [ + "features" + ], + "x-stripeMostCommon": [ + "enabled", + "features" + ], + "x-stripeResource": { + "class_name": "FinancialAccountTransactionsConfig", + "in_package": "" + } + }, + "connect_embedded_financial_account_transactions_features": { + "description": "", + "properties": { + "card_spend_dispute_management": { + "description": "Whether to allow card spend dispute management features.", + "type": "boolean" + } + }, + "required": [ + "card_spend_dispute_management" + ], + "title": "ConnectEmbeddedFinancialAccountTransactionsFeatures", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "card_spend_dispute_management" + ], + "x-stripeResource": { + "class_name": "FinancialAccountTransactionsFeatures", + "in_package": "" + } + }, + "connect_embedded_issuing_card_config_claim": { + "description": "", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "$ref": "#/components/schemas/connect_embedded_issuing_card_features" + } + }, + "required": [ + "enabled", + "features" + ], + "title": "ConnectEmbeddedIssuingCardConfigClaim", + "type": "object", + "x-expandableFields": [ + "features" + ], + "x-stripeMostCommon": [ + "enabled", + "features" + ], + "x-stripeResource": { + "class_name": "IssuingCardConfig", + "in_package": "" + } + }, + "connect_embedded_issuing_card_features": { + "description": "", + "properties": { + "card_management": { + "description": "Whether to allow card management features.", + "type": "boolean" + }, + "card_spend_dispute_management": { + "description": "Whether to allow card spend dispute management features.", + "type": "boolean" + }, + "cardholder_management": { + "description": "Whether to allow cardholder management features.", + "type": "boolean" + }, + "spend_control_management": { + "description": "Whether to allow spend control management features.", + "type": "boolean" + } + }, + "required": [ + "card_management", + "card_spend_dispute_management", + "cardholder_management", + "spend_control_management" + ], + "title": "ConnectEmbeddedIssuingCardFeatures", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "card_management", + "card_spend_dispute_management", + "cardholder_management", + "spend_control_management" + ], + "x-stripeResource": { + "class_name": "IssuingCardFeatures", + "in_package": "" + } + }, + "connect_embedded_issuing_cards_list_config_claim": { + "description": "", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "$ref": "#/components/schemas/connect_embedded_issuing_cards_list_features" + } + }, + "required": [ + "enabled", + "features" + ], + "title": "ConnectEmbeddedIssuingCardsListConfigClaim", + "type": "object", + "x-expandableFields": [ + "features" + ], + "x-stripeMostCommon": [ + "enabled", + "features" + ], + "x-stripeResource": { + "class_name": "IssuingCardsListConfig", + "in_package": "" + } + }, + "connect_embedded_issuing_cards_list_features": { + "description": "", + "properties": { + "card_management": { + "description": "Whether to allow card management features.", + "type": "boolean" + }, + "card_spend_dispute_management": { + "description": "Whether to allow card spend dispute management features.", + "type": "boolean" + }, + "cardholder_management": { + "description": "Whether to allow cardholder management features.", + "type": "boolean" + }, + "disable_stripe_user_authentication": { + "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts.", + "type": "boolean" + }, + "spend_control_management": { + "description": "Whether to allow spend control management features.", + "type": "boolean" + } + }, + "required": [ + "card_management", + "card_spend_dispute_management", + "cardholder_management", + "disable_stripe_user_authentication", + "spend_control_management" + ], + "title": "ConnectEmbeddedIssuingCardsListFeatures", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "card_management", + "card_spend_dispute_management", + "cardholder_management", + "disable_stripe_user_authentication", + "spend_control_management" + ], + "x-stripeResource": { + "class_name": "IssuingCardsListFeatures", + "in_package": "" + } + }, "connect_embedded_payments_config_claim": { "description": "", "properties": { @@ -12639,6 +12979,7 @@ "object", "out_of_band_amount", "pdf", + "pretax_credit_amounts", "reason", "refund", "shipping_cost", @@ -12893,6 +13234,7 @@ "id", "livemode", "object", + "pretax_credit_amounts", "quantity", "tax_amounts", "tax_rates", @@ -16983,7 +17325,7 @@ "description": "", "properties": { "status": { - "description": "Visa Compelling Evidence 3.0 eligibility status.", + "description": "Visa compliance eligibility status.", "enum": [ "fee_acknowledged", "requires_fee_acknowledgement" @@ -17061,7 +17403,7 @@ "description": "", "properties": { "fee_acknowledged": { - "description": "A field acknowledging the fee incurred when countering a Visa Compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute, and you may incur a $500 fee if the case is lost.", + "description": "A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute.", "type": "boolean" } }, @@ -23566,6 +23908,7 @@ "total", "total_discount_amounts", "total_excluding_tax", + "total_pretax_credit_amounts", "total_tax_amounts", "transfer_data", "webhooks_delivered_at" @@ -25588,10 +25931,11 @@ "description": "", "properties": { "type": { - "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`", + "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -28331,6 +28675,7 @@ "network_id", "postal_code", "state", + "tax_id", "terminal_id", "url" ], @@ -33647,6 +33992,15 @@ "description": "Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided).", "type": "boolean" }, + "directorship_declaration": { + "anyOf": [ + { + "$ref": "#/components/schemas/legal_entity_directorship_declaration" + } + ], + "description": "This hash is used to attest that the director information provided to Stripe is both current and correct.", + "nullable": true + }, "executives_provided": { "description": "Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided.", "type": "boolean" @@ -33692,6 +34046,13 @@ "description": "This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.", "nullable": true }, + "ownership_exemption_reason": { + "enum": [ + "qualified_entity_exceeds_ownership_threshold", + "qualifies_as_financial_institution" + ], + "type": "string" + }, "phone": { "description": "The company's phone number (used for verification).", "maxLength": 5000, @@ -33757,6 +34118,7 @@ "address", "address_kana", "address_kanji", + "directorship_declaration", "ownership_declaration", "verification" ], @@ -33765,6 +34127,7 @@ "address_kana", "address_kanji", "directors_provided", + "directorship_declaration", "executives_provided", "export_license_id", "export_purpose_code", @@ -33773,6 +34136,7 @@ "name_kanji", "owners_provided", "ownership_declaration", + "ownership_exemption_reason", "phone", "structure", "tax_id_provided", @@ -33875,6 +34239,42 @@ "front" ] }, + "legal_entity_directorship_declaration": { + "description": "", + "properties": { + "date": { + "description": "The Unix timestamp marking when the directorship declaration attestation was made.", + "format": "unix-time", + "nullable": true, + "type": "integer" + }, + "ip": { + "description": "The IP address from which the directorship declaration attestation was made.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "user_agent": { + "description": "The user-agent string from the browser where the directorship declaration attestation was made.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "date", + "ip", + "user_agent" + ], + "title": "LegalEntityDirectorshipDeclaration", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "date", + "ip", + "user_agent" + ] + }, "legal_entity_dob": { "description": "", "properties": { @@ -34468,6 +34868,7 @@ "object", "period", "plan", + "pretax_credit_amounts", "price", "proration", "proration_details", @@ -35539,13 +35940,16 @@ "billing_details": { "$ref": "#/components/schemas/treasury_shared_resource_billing_details" }, + "financial_account": { + "$ref": "#/components/schemas/outbound_transfers_payment_method_details_financial_account" + }, "type": { "description": "The type of the payment method used in the OutboundTransfer.", "enum": [ + "financial_account", "us_bank_account" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "us_bank_account": { "$ref": "#/components/schemas/outbound_transfers_payment_method_details_us_bank_account" @@ -35559,10 +35963,12 @@ "type": "object", "x-expandableFields": [ "billing_details", + "financial_account", "us_bank_account" ], "x-stripeMostCommon": [ "billing_details", + "financial_account", "type", "us_bank_account" ], @@ -35571,6 +35977,38 @@ "in_package": "" } }, + "outbound_transfers_payment_method_details_financial_account": { + "description": "", + "properties": { + "id": { + "description": "Token of the FinancialAccount.", + "maxLength": 5000, + "type": "string" + }, + "network": { + "description": "The rails used to send funds.", + "enum": [ + "stripe" + ], + "type": "string" + } + }, + "required": [ + "id", + "network" + ], + "title": "outbound_transfers_payment_method_details_financial_account", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "id", + "network" + ], + "x-stripeResource": { + "class_name": "FinancialAccount", + "in_package": "" + } + }, "outbound_transfers_payment_method_details_us_bank_account": { "description": "", "properties": { @@ -38054,6 +38492,9 @@ "p24": { "$ref": "#/components/schemas/payment_method_options_p24" }, + "pay_by_bank": { + "$ref": "#/components/schemas/payment_method_options_pay_by_bank" + }, "payco": { "$ref": "#/components/schemas/payment_flows_private_payment_methods_payco_payment_method_options" }, @@ -38131,6 +38572,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -38178,6 +38620,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -39074,6 +39517,7 @@ "multibanco", "oxxo", "p24", + "pay_by_bank", "paynow", "paypal", "pix", @@ -40207,6 +40651,7 @@ "SA", "SB", "SC", + "SD", "SE", "SG", "SH", @@ -40261,8 +40706,7 @@ "ZW", "ZZ" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "type": "array" } @@ -40620,6 +41064,9 @@ "p24": { "$ref": "#/components/schemas/payment_method_p24" }, + "pay_by_bank": { + "$ref": "#/components/schemas/payment_method_pay_by_bank" + }, "payco": { "$ref": "#/components/schemas/payment_method_payco" }, @@ -40690,6 +41137,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -40764,6 +41212,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -41215,6 +41664,7 @@ "generated_from", "last4", "networks", + "regulated_status", "three_d_secure_usage", "wallet" ], @@ -41991,6 +42441,9 @@ "nullable": true, "type": "string" }, + "pay_by_bank": { + "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" + }, "paynow": { "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" }, @@ -42068,6 +42521,7 @@ "multibanco", "oxxo", "p24", + "pay_by_bank", "paynow", "paypal", "promptpay", @@ -42235,6 +42689,9 @@ "p24": { "$ref": "#/components/schemas/payment_method_details_p24" }, + "pay_by_bank": { + "$ref": "#/components/schemas/payment_method_details_pay_by_bank" + }, "payco": { "$ref": "#/components/schemas/payment_method_details_payco" }, @@ -42331,6 +42788,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -42383,6 +42841,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -43054,6 +43513,8 @@ "last4", "mandate", "network", + "network_transaction_id", + "regulated_status", "three_d_secure", "wallet" ], @@ -44778,6 +45239,13 @@ "last4" ] }, + "payment_method_details_pay_by_bank": { + "description": "", + "properties": {}, + "title": "payment_method_details_pay_by_bank", + "type": "object", + "x-expandableFields": [] + }, "payment_method_details_payco": { "description": "", "properties": { @@ -44825,6 +45293,12 @@ "payment_method_details_paypal": { "description": "", "properties": { + "country": { + "description": "Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "payer_email": { "description": "Owner's email. Values are provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.", "maxLength": 5000, @@ -44860,6 +45334,7 @@ } }, "required": [ + "country", "payer_email", "payer_id", "payer_name", @@ -44872,6 +45347,7 @@ "seller_protection" ], "x-stripeMostCommon": [ + "country", "payer_email", "payer_id", "payer_name", @@ -46789,6 +47265,13 @@ "setup_future_usage" ] }, + "payment_method_options_pay_by_bank": { + "description": "", + "properties": {}, + "title": "payment_method_options_pay_by_bank", + "type": "object", + "x-expandableFields": [] + }, "payment_method_options_paynow": { "description": "", "properties": { @@ -47119,6 +47602,13 @@ "bank" ] }, + "payment_method_pay_by_bank": { + "description": "", + "properties": {}, + "title": "payment_method_pay_by_bank", + "type": "object", + "x-expandableFields": [] + }, "payment_method_payco": { "description": "", "properties": {}, @@ -47140,6 +47630,12 @@ "payment_method_paypal": { "description": "", "properties": { + "country": { + "description": "Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "payer_email": { "description": "Owner's email. Values are provided by PayPal directly\n(if supported) at the time of authorization or settlement. They cannot be set or mutated.", "maxLength": 5000, @@ -47154,6 +47650,7 @@ } }, "required": [ + "country", "payer_email", "payer_id" ], @@ -47161,6 +47658,7 @@ "type": "object", "x-expandableFields": [], "x-stripeMostCommon": [ + "country", "payer_email", "payer_id" ] @@ -48118,6 +48616,65 @@ "tax_ids" ] }, + "payment_pages_checkout_session_discount": { + "description": "", + "properties": { + "coupon": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/coupon" + } + ], + "description": "Coupon attached to the Checkout Session.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/coupon" + } + ] + } + }, + "promotion_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/promotion_code" + } + ], + "description": "Promotion code attached to the Checkout Session.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/promotion_code" + } + ] + } + } + }, + "required": [ + "coupon", + "promotion_code" + ], + "title": "PaymentPagesCheckoutSessionDiscount", + "type": "object", + "x-expandableFields": [ + "coupon", + "promotion_code" + ], + "x-stripeMostCommon": [ + "coupon", + "promotion_code" + ] + }, "payment_pages_checkout_session_invoice_creation": { "description": "", "properties": { @@ -48343,7 +48900,7 @@ "description": "", "properties": { "allowed_countries": { - "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`.", + "description": "An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SY, UM, VI`.", "items": { "enum": [ "AC", @@ -48530,6 +49087,7 @@ "SA", "SB", "SC", + "SD", "SE", "SG", "SH", @@ -48584,8 +49142,7 @@ "ZW", "ZZ" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "type": "array" } @@ -48712,10 +49269,11 @@ "description": "", "properties": { "type": { - "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`", + "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -49956,7 +50514,7 @@ "type": "array" }, "eventually_due": { - "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `future_requirements[current_deadline]` becomes set.", + "description": "Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `future_requirements[current_deadline]` becomes set.", "items": { "maxLength": 5000, "type": "string" @@ -50099,7 +50657,7 @@ "type": "array" }, "eventually_due": { - "description": "Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `current_deadline` becomes set.", + "description": "Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `current_deadline` becomes set.", "items": { "maxLength": 5000, "type": "string" @@ -58228,6 +58786,16 @@ "alipay": { "$ref": "#/components/schemas/source_type_alipay" }, + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.", + "enum": [ + "always", + "limited", + "unspecified" + ], + "nullable": true, + "type": "string" + }, "amount": { "description": "A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.", "nullable": true, @@ -58395,6 +58963,7 @@ } }, "required": [ + "allow_redisplay", "amount", "client_secret", "created", @@ -63767,10 +64336,11 @@ "nullable": true }, "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -64047,12 +64617,27 @@ "ae": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, + "al": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, + "am": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, + "ao": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "at": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe" }, "au": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, + "ba": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, + "bb": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "be": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe" }, @@ -64062,12 +64647,18 @@ "bh": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, + "bs": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "by": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, "ca": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_canada" }, + "cd": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "ch": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, @@ -64116,6 +64707,9 @@ "ge": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, + "gn": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "gr": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe" }, @@ -64143,6 +64737,9 @@ "ke": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, + "kh": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, "kr": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, @@ -64164,6 +64761,15 @@ "md": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, + "me": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, + "mk": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, + "mr": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "mt": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe" }, @@ -64182,12 +64788,18 @@ "no": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, + "np": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, "nz": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, "om": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" }, + "pe": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, "pl": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe" }, @@ -64218,18 +64830,33 @@ "sk": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_europe" }, + "sn": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, + "sr": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "th": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, + "tj": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, "tr": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, "tz": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, + "ug": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, "us": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_united_states" }, + "uy": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, "uz": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" }, @@ -64238,19 +64865,32 @@ }, "za": { "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" + }, + "zm": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_simplified" + }, + "zw": { + "$ref": "#/components/schemas/tax_product_registrations_resource_country_options_default" } }, "title": "TaxProductRegistrationsResourceCountryOptions", "type": "object", "x-expandableFields": [ "ae", + "al", + "am", + "ao", "at", "au", + "ba", + "bb", "be", "bg", "bh", + "bs", "by", "ca", + "cd", "ch", "cl", "co", @@ -64267,6 +64907,7 @@ "fr", "gb", "ge", + "gn", "gr", "hr", "hu", @@ -64276,6 +64917,7 @@ "it", "jp", "ke", + "kh", "kr", "kz", "lt", @@ -64283,14 +64925,19 @@ "lv", "ma", "md", + "me", + "mk", + "mr", "mt", "mx", "my", "ng", "nl", "no", + "np", "nz", "om", + "pe", "pl", "pt", "ro", @@ -64301,23 +64948,37 @@ "sg", "si", "sk", + "sn", + "sr", "th", + "tj", "tr", "tz", + "ug", "us", + "uy", "uz", "vn", - "za" + "za", + "zm", + "zw" ], "x-stripeMostCommon": [ "ae", + "al", + "am", + "ao", "at", "au", + "ba", + "bb", "be", "bg", "bh", + "bs", "by", "ca", + "cd", "ch", "cl", "co", @@ -64334,6 +64995,7 @@ "fr", "gb", "ge", + "gn", "gr", "hr", "hu", @@ -64343,6 +65005,7 @@ "it", "jp", "ke", + "kh", "kr", "kz", "lt", @@ -64350,14 +65013,19 @@ "lv", "ma", "md", + "me", + "mk", + "mr", "mt", "mx", "my", "ng", "nl", "no", + "np", "nz", "om", + "pe", "pl", "pt", "ro", @@ -64368,13 +65036,20 @@ "sg", "si", "sk", + "sn", + "sr", "th", + "tj", "tr", "tz", + "ug", "us", + "uy", "uz", "vn", - "za" + "za", + "zm", + "zw" ] }, "tax_product_registrations_resource_country_options_ca_province_standard": { @@ -64724,10 +65399,11 @@ "description": "", "properties": { "type": { - "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`", + "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -66414,6 +67090,9 @@ "hkd": { "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config" }, + "jpy": { + "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config" + }, "myr": { "$ref": "#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config" }, @@ -66447,6 +67126,7 @@ "eur", "gbp", "hkd", + "jpy", "myr", "nok", "nzd", @@ -66464,6 +67144,7 @@ "eur", "gbp", "hkd", + "jpy", "myr", "nok", "nzd", @@ -68956,6 +69637,9 @@ "maxLength": 5000, "type": "string" }, + "is_default": { + "type": "boolean" + }, "livemode": { "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", "type": "boolean" @@ -68969,6 +69653,12 @@ "nullable": true, "type": "object" }, + "nickname": { + "description": "The nickname for the FinancialAccount.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "object": { "description": "String representing the object's type. Objects of the same type share the same value.", "enum": [ @@ -69078,8 +69768,10 @@ "features", "financial_addresses", "id", + "is_default", "livemode", "metadata", + "nickname", "object", "pending_features", "platform_restrictions", @@ -69124,6 +69816,13 @@ "operation": "post", "path": "/v1/treasury/financial_accounts/{financial_account}" }, + { + "method_name": "close", + "method_on": "service", + "method_type": "custom", + "operation": "post", + "path": "/v1/treasury/financial_accounts/{financial_account}/close" + }, { "method_name": "update_features", "method_on": "service", @@ -72293,6 +72992,9 @@ "outbound_payment": { "$ref": "#/components/schemas/treasury.outbound_payment" }, + "outbound_transfer": { + "$ref": "#/components/schemas/treasury.outbound_transfer" + }, "payout": { "$ref": "#/components/schemas/payout" }, @@ -72302,10 +73004,10 @@ "credit_reversal", "other", "outbound_payment", + "outbound_transfer", "payout" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" } }, "required": [ @@ -72316,11 +73018,13 @@ "x-expandableFields": [ "credit_reversal", "outbound_payment", + "outbound_transfer", "payout" ], "x-stripeMostCommon": [ "credit_reversal", "outbound_payment", + "outbound_transfer", "payout", "type" ] @@ -73100,7 +73804,7 @@ "description": "The Stripe REST API. Please see https://stripe.com/docs/api for more details.", "termsOfService": "https://stripe.com/us/terms/", "title": "Stripe API", - "version": "2024-12-18.acacia", + "version": "2025-01-27.acacia", "x-stripeSpecFilename": "spec3.sdk" }, "openapi": "3.0.0", @@ -73468,6 +74172,184 @@ "features" ] }, + "financial_account": { + "description": "Configuration for the financial account embedded component.", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "description": "The list of features enabled in the embedded component.", + "properties": { + "disable_stripe_user_authentication": { + "description": "Disables Stripe user authentication for this embedded component. This value can only be true for accounts where `controller.requirement_collection` is `application`. The default value is the opposite of the `external_account_collection` value. For example, if you don’t set `external_account_collection`, it defaults to true and `disable_stripe_user_authentication` defaults to false.", + "type": "boolean" + }, + "external_account_collection": { + "description": "Whether to allow external accounts to be linked for money transfer.", + "type": "boolean" + }, + "send_money": { + "description": "Whether to allow sending money.", + "type": "boolean" + }, + "transfer_balance": { + "description": "Whether to allow transferring balance.", + "type": "boolean" + } + }, + "title": "financial_account_features_param", + "type": "object", + "x-stripeMostCommon": [ + "disable_stripe_user_authentication", + "external_account_collection", + "send_money", + "transfer_balance" + ] + } + }, + "required": [ + "enabled" + ], + "title": "financial_account_config_param", + "type": "object", + "x-stripeMostCommon": [ + "enabled", + "features" + ] + }, + "financial_account_transactions": { + "description": "Configuration for the financial account transactions embedded component.", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "description": "The list of features enabled in the embedded component.", + "properties": { + "card_spend_dispute_management": { + "description": "Whether to allow card spend dispute management features.", + "type": "boolean" + } + }, + "title": "financial_account_transactions_features_param", + "type": "object", + "x-stripeMostCommon": [ + "card_spend_dispute_management" + ] + } + }, + "required": [ + "enabled" + ], + "title": "financial_account_transactions_config_param", + "type": "object", + "x-stripeMostCommon": [ + "enabled", + "features" + ] + }, + "issuing_card": { + "description": "Configuration for the issuing card embedded component.", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "description": "The list of features enabled in the embedded component.", + "properties": { + "card_management": { + "description": "Whether to allow card management features.", + "type": "boolean" + }, + "card_spend_dispute_management": { + "description": "Whether to allow card spend dispute management features.", + "type": "boolean" + }, + "cardholder_management": { + "description": "Whether to allow cardholder management features.", + "type": "boolean" + }, + "spend_control_management": { + "description": "Whether to allow spend control management features.", + "type": "boolean" + } + }, + "title": "issuing_card_features_param", + "type": "object", + "x-stripeMostCommon": [ + "card_management", + "card_spend_dispute_management", + "cardholder_management", + "spend_control_management" + ] + } + }, + "required": [ + "enabled" + ], + "title": "issuing_card_config_param", + "type": "object", + "x-stripeMostCommon": [ + "enabled", + "features" + ] + }, + "issuing_cards_list": { + "description": "Configuration for the issuing cards list embedded component.", + "properties": { + "enabled": { + "description": "Whether the embedded component is enabled.", + "type": "boolean" + }, + "features": { + "description": "The list of features enabled in the embedded component.", + "properties": { + "card_management": { + "description": "Whether to allow card management features.", + "type": "boolean" + }, + "card_spend_dispute_management": { + "description": "Whether to allow card spend dispute management features.", + "type": "boolean" + }, + "cardholder_management": { + "description": "Whether to allow cardholder management features.", + "type": "boolean" + }, + "disable_stripe_user_authentication": { + "description": "Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you’re responsible for collecting updated information when requirements are due or change, like custom accounts.", + "type": "boolean" + }, + "spend_control_management": { + "description": "Whether to allow spend control management features.", + "type": "boolean" + } + }, + "title": "issuing_cards_list_features_param", + "type": "object", + "x-stripeMostCommon": [ + "card_management", + "card_spend_dispute_management", + "cardholder_management", + "disable_stripe_user_authentication", + "spend_control_management" + ] + } + }, + "required": [ + "enabled" + ], + "title": "issuing_cards_list_config_param", + "type": "object", + "x-stripeMostCommon": [ + "enabled", + "features" + ] + }, "notification_banner": { "description": "Configuration for the notification banner embedded component.", "properties": { @@ -73747,10 +74629,12 @@ "payments", "payouts", "payouts_list", + "product_tax_code_selector", "recipients", "reporting_chart", "tax_registrations", - "tax_settings" + "tax_settings", + "tax_threshold_monitoring" ] }, "expand": { @@ -74725,6 +75609,20 @@ "requested" ] }, + "pay_by_bank_payments": { + "description": "The pay_by_bank_payments capability.", + "properties": { + "requested": { + "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.", + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object", + "x-stripeMostCommon": [ + "requested" + ] + }, "payco_payments": { "description": "The payco_payments capability.", "properties": { @@ -74992,6 +75890,7 @@ "card_issuing", "card_issuing_charge_card", "card_issuing_charge_card_stripe", + "card_issuing_consumer", "card_issuing_spend_card_cross_river", "card_payments", "cartes_bancaires_payments", @@ -75040,8 +75939,10 @@ "ng_card_payments", "ng_market_payments", "ng_ussd_payments", + "ng_wallet_payments", "nz_bank_account_becs_debit_payments", "nz_bank_transfer_payments", + "octopus_payments", "oxxo_payments", "p24_payments", "pay_by_bank_payments", @@ -75064,6 +75965,7 @@ "shopeepay_payments", "sofort_payments", "south_korea_market_payments", + "stripe_balance_payments", "submerchant_payments", "sunbit_payments", "swish_payments", @@ -75239,6 +76141,32 @@ "description": "Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.", "type": "boolean" }, + "directorship_declaration": { + "description": "This hash is used to attest that the directors information provided to Stripe is both current and correct.", + "properties": { + "date": { + "description": "The Unix timestamp marking when the directorship declaration attestation was made.", + "format": "unix-time", + "type": "integer" + }, + "ip": { + "description": "The IP address from which the directorship declaration attestation was made.", + "type": "string" + }, + "user_agent": { + "description": "The user agent of the browser from which the directorship declaration attestation was made.", + "maxLength": 5000, + "type": "string" + } + }, + "title": "company_directorship_declaration", + "type": "object", + "x-stripeMostCommon": [ + "date", + "ip", + "user_agent" + ] + }, "executives_provided": { "description": "Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.", "type": "boolean" @@ -75298,6 +76226,14 @@ "user_agent" ] }, + "ownership_exemption_reason": { + "enum": [ + "", + "qualified_entity_exceeds_ownership_threshold", + "qualifies_as_financial_institution" + ], + "type": "string" + }, "phone": { "description": "The company's phone number (used for verification).", "maxLength": 5000, @@ -75395,6 +76331,7 @@ "contact_point_verification_address", "cross_border_transaction_classifications", "directors_provided", + "directorship_declaration", "executives_provided", "export_license_id", "export_purpose_code", @@ -75637,6 +76574,24 @@ "x-stripeMostCommon": [ "files" ] + }, + "proof_of_ultimate_beneficial_ownership": { + "description": "One or more documents that demonstrate proof of ultimate beneficial ownership.", + "properties": { + "files": { + "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.", + "items": { + "maxLength": 500, + "type": "string" + }, + "type": "array" + } + }, + "title": "documents_param", + "type": "object", + "x-stripeMostCommon": [ + "files" + ] } }, "title": "documents_specs", @@ -75650,7 +76605,8 @@ "company_registration_verification", "company_tax_id_verification", "company_vat_id_verification", - "proof_of_registration" + "proof_of_registration", + "proof_of_ultimate_beneficial_ownership" ] }, "email": { @@ -77496,6 +78452,20 @@ "requested" ] }, + "pay_by_bank_payments": { + "description": "The pay_by_bank_payments capability.", + "properties": { + "requested": { + "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.", + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object", + "x-stripeMostCommon": [ + "requested" + ] + }, "payco_payments": { "description": "The payco_payments capability.", "properties": { @@ -77763,6 +78733,7 @@ "card_issuing", "card_issuing_charge_card", "card_issuing_charge_card_stripe", + "card_issuing_consumer", "card_issuing_spend_card_cross_river", "card_payments", "cartes_bancaires_payments", @@ -77811,8 +78782,10 @@ "ng_card_payments", "ng_market_payments", "ng_ussd_payments", + "ng_wallet_payments", "nz_bank_account_becs_debit_payments", "nz_bank_transfer_payments", + "octopus_payments", "oxxo_payments", "p24_payments", "pay_by_bank_payments", @@ -77835,6 +78808,7 @@ "shopeepay_payments", "sofort_payments", "south_korea_market_payments", + "stripe_balance_payments", "submerchant_payments", "sunbit_payments", "swish_payments", @@ -78010,6 +78984,32 @@ "description": "Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.", "type": "boolean" }, + "directorship_declaration": { + "description": "This hash is used to attest that the directors information provided to Stripe is both current and correct.", + "properties": { + "date": { + "description": "The Unix timestamp marking when the directorship declaration attestation was made.", + "format": "unix-time", + "type": "integer" + }, + "ip": { + "description": "The IP address from which the directorship declaration attestation was made.", + "type": "string" + }, + "user_agent": { + "description": "The user agent of the browser from which the directorship declaration attestation was made.", + "maxLength": 5000, + "type": "string" + } + }, + "title": "company_directorship_declaration", + "type": "object", + "x-stripeMostCommon": [ + "date", + "ip", + "user_agent" + ] + }, "executives_provided": { "description": "Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.", "type": "boolean" @@ -78069,6 +79069,14 @@ "user_agent" ] }, + "ownership_exemption_reason": { + "enum": [ + "", + "qualified_entity_exceeds_ownership_threshold", + "qualifies_as_financial_institution" + ], + "type": "string" + }, "phone": { "description": "The company's phone number (used for verification).", "maxLength": 5000, @@ -78166,6 +79174,7 @@ "contact_point_verification_address", "cross_border_transaction_classifications", "directors_provided", + "directorship_declaration", "executives_provided", "export_license_id", "export_purpose_code", @@ -78325,6 +79334,24 @@ "x-stripeMostCommon": [ "files" ] + }, + "proof_of_ultimate_beneficial_ownership": { + "description": "One or more documents that demonstrate proof of ultimate beneficial ownership.", + "properties": { + "files": { + "description": "One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.", + "items": { + "maxLength": 500, + "type": "string" + }, + "type": "array" + } + }, + "title": "documents_param", + "type": "object", + "x-stripeMostCommon": [ + "files" + ] } }, "title": "documents_specs", @@ -78338,7 +79365,8 @@ "company_registration_verification", "company_tax_id_verification", "company_vat_id_verification", - "proof_of_registration" + "proof_of_registration", + "proof_of_ultimate_beneficial_ownership" ] }, "email": { @@ -86884,7 +87912,7 @@ "type": "string" }, "proration_behavior": { - "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.", + "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. Passing `always_invoice` will result in an error. No prorations are generated when canceling a subscription at the end of its natural billing period.", "enum": [ "always_invoice", "create_prorations", @@ -87444,7 +88472,7 @@ "type": "string" }, "proration_behavior": { - "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.", + "description": "Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. Passing `always_invoice` will result in an error. No prorations are generated when canceling a subscription at the end of its natural billing period.", "enum": [ "always_invoice", "create_prorations", @@ -90604,12 +91632,10 @@ "type": "object", "x-stripeMostCommon": [ "adjustable_quantity", - "display", "dynamic_tax_rates", "metadata", "price", "price_data", - "pricing_spec", "quantity", "tax_rates" ] @@ -90678,7 +91704,8 @@ "setup", "subscription" ], - "type": "string" + "type": "string", + "x-stripeBypassValidation": true }, "payment_intent_data": { "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.", @@ -90999,6 +92026,7 @@ "currency", "mandate_options", "setup_future_usage", + "target_date", "verification_method" ] }, @@ -91678,6 +92706,18 @@ "tos_shown_and_accepted" ] }, + "pay_by_bank": { + "description": "contains details about the Pay By Bank payment method options.", + "properties": {}, + "title": "payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "allow_delayed_notification", + "country", + "locale", + "statement_descriptor" + ] + }, "payco": { "description": "contains details about the PAYCO payment method options.", "properties": { @@ -91979,6 +93019,7 @@ "x-stripeMostCommon": [ "financial_connections", "setup_future_usage", + "target_date", "verification_method" ] }, @@ -92107,6 +93148,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -92131,7 +93173,7 @@ "description": "Controls phone number collection settings for the session.\n\nWe recommend that you review your privacy policy and check with your legal contacts\nbefore using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).", "properties": { "enabled": { - "description": "Set to `true` to enable phone number collection.", + "description": "Set to `true` to enable phone number collection.\n\nCan only be set in `payment` and `subscription` mode.", "type": "boolean" } }, @@ -92409,6 +93451,7 @@ "SA", "SB", "SC", + "SD", "SE", "SG", "SH", @@ -92463,8 +93506,7 @@ "ZW", "ZZ" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "type": "array" } @@ -97513,10 +98555,11 @@ "items": { "properties": { "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -99516,6 +100559,7 @@ "name": "ending_before", "required": false, "schema": { + "maxLength": 5000, "type": "string" }, "style": "form" @@ -99551,6 +100595,7 @@ "name": "starting_after", "required": false, "schema": { + "maxLength": 5000, "type": "string" }, "style": "form" @@ -99591,6 +100636,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -100699,10 +101745,11 @@ "type": "array" }, "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -101812,10 +102859,10 @@ ] }, "visa_compliance": { - "description": "Evidence provided for Visa Compliance evidence submission.", + "description": "Evidence provided for Visa compliance evidence submission.", "properties": { "fee_acknowledged": { - "description": "A field acknowledging the fee incurred when countering a Visa Compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute, and you may incur a $500 fee if the case is lost.", + "description": "A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute.", "type": "boolean" } }, @@ -105212,7 +106259,7 @@ "operationId": "GetFinancialConnectionsTransactions", "parameters": [ { - "description": "The ID of the Stripe account whose transactions will be retrieved.", + "description": "The ID of the Financial Connections Account whose transactions will be retrieved.", "in": "query", "name": "account", "required": true, @@ -110032,10 +111079,11 @@ "items": { "properties": { "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -112028,10 +113076,11 @@ "items": { "properties": { "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -114357,10 +115406,11 @@ "items": { "properties": { "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -131198,6 +132248,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -131345,6 +132401,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -132821,7 +133878,8 @@ "payment_method_category", "preferred_locale", "request_multicapture", - "setup_future_usage" + "setup_future_usage", + "subscriptions" ] }, { @@ -133166,6 +134224,28 @@ ], "description": "If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options." }, + "pay_by_bank": { + "anyOf": [ + { + "properties": {}, + "title": "payment_intent_payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "allow_delayed_notification", + "country", + "locale", + "statement_descriptor" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options." + }, "payco": { "anyOf": [ { @@ -135073,6 +136153,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -135220,6 +136306,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -136696,7 +137783,8 @@ "payment_method_category", "preferred_locale", "request_multicapture", - "setup_future_usage" + "setup_future_usage", + "subscriptions" ] }, { @@ -137041,6 +138129,28 @@ ], "description": "If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options." }, + "pay_by_bank": { + "anyOf": [ + { + "properties": {}, + "title": "payment_intent_payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "allow_delayed_notification", + "country", + "locale", + "statement_descriptor" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options." + }, "payco": { "anyOf": [ { @@ -139123,6 +140233,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -139270,6 +140386,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -140746,7 +141863,8 @@ "payment_method_category", "preferred_locale", "request_multicapture", - "setup_future_usage" + "setup_future_usage", + "subscriptions" ] }, { @@ -141091,6 +142209,28 @@ ], "description": "If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options." }, + "pay_by_bank": { + "anyOf": [ + { + "properties": {}, + "title": "payment_intent_payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "allow_delayed_notification", + "country", + "locale", + "statement_descriptor" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options." + }, "payco": { "anyOf": [ { @@ -143275,6 +144415,7 @@ "multibanco", "oxxo", "p24", + "pay_by_bank", "paynow", "paypal", "pix", @@ -143530,6 +144671,7 @@ "SA", "SB", "SC", + "SD", "SE", "SG", "SH", @@ -143584,8 +144726,7 @@ "ZW", "ZZ" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "type": "array" } @@ -143947,6 +145088,10 @@ "explode": true, "style": "deepObject" }, + "phone_number_collection": { + "explode": true, + "style": "deepObject" + }, "restrictions": { "explode": true, "style": "deepObject" @@ -144763,6 +145908,7 @@ "multibanco", "oxxo", "p24", + "pay_by_bank", "paynow", "paypal", "pix", @@ -144789,6 +145935,23 @@ ], "description": "The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods)." }, + "phone_number_collection": { + "description": "Controls phone number collection settings during checkout.\n\nWe recommend that you review your privacy policy and check with your legal contacts.", + "properties": { + "enabled": { + "description": "Set to `true` to enable phone number collection.", + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "title": "phone_number_collection_params", + "type": "object", + "x-stripeMostCommon": [ + "enabled" + ] + }, "restrictions": { "anyOf": [ { @@ -145021,6 +146184,7 @@ "SA", "SB", "SC", + "SD", "SE", "SG", "SH", @@ -145075,8 +146239,7 @@ "ZW", "ZZ" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "type": "array" } @@ -145730,6 +146893,10 @@ "explode": true, "style": "deepObject" }, + "pay_by_bank": { + "explode": true, + "style": "deepObject" + }, "paynow": { "explode": true, "style": "deepObject" @@ -146695,6 +147862,35 @@ "maxLength": 100, "type": "string" }, + "pay_by_bank": { + "description": "Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.", + "properties": { + "display_preference": { + "description": "Whether or not the payment method should be displayed.", + "properties": { + "preference": { + "description": "The account's preference for whether or not to display this payment method.", + "enum": [ + "none", + "off", + "on" + ], + "type": "string" + } + }, + "title": "display_preference_param", + "type": "object", + "x-stripeMostCommon": [ + "preference" + ] + } + }, + "title": "payment_method_param", + "type": "object", + "x-stripeMostCommon": [ + "display_preference" + ] + }, "paynow": { "description": "PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.", "properties": { @@ -147265,6 +148461,10 @@ "explode": true, "style": "deepObject" }, + "pay_by_bank": { + "explode": true, + "style": "deepObject" + }, "paynow": { "explode": true, "style": "deepObject" @@ -148229,6 +149429,35 @@ "display_preference" ] }, + "pay_by_bank": { + "description": "Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.", + "properties": { + "display_preference": { + "description": "Whether or not the payment method should be displayed.", + "properties": { + "preference": { + "description": "The account's preference for whether or not to display this payment method.", + "enum": [ + "none", + "off", + "on" + ], + "type": "string" + } + }, + "title": "display_preference_param", + "type": "object", + "x-stripeMostCommon": [ + "preference" + ] + } + }, + "title": "payment_method_param", + "type": "object", + "x-stripeMostCommon": [ + "display_preference" + ] + }, "paynow": { "description": "PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.", "properties": { @@ -149040,6 +150269,7 @@ "name": "ending_before", "required": false, "schema": { + "maxLength": 5000, "type": "string" }, "style": "form" @@ -149075,6 +150305,7 @@ "name": "starting_after", "required": false, "schema": { + "maxLength": 5000, "type": "string" }, "style": "form" @@ -149115,6 +150346,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -149354,6 +150586,10 @@ "explode": true, "style": "deepObject" }, + "pay_by_bank": { + "explode": true, + "style": "deepObject" + }, "payco": { "explode": true, "style": "deepObject" @@ -150092,6 +151328,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -150245,6 +151487,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -150470,6 +151713,10 @@ "explode": true, "style": "deepObject" }, + "pay_by_bank": { + "explode": true, + "style": "deepObject" + }, "us_bank_account": { "explode": true, "style": "deepObject" @@ -150689,6 +151936,12 @@ "funding" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "us_bank_account": { "description": "If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.", "properties": { @@ -160527,6 +161780,7 @@ "is_top_fraudy_attributes", "is_unbilled", "jurisdiction_key", + "last_activity_timeframe", "limit", "list_item", "list_items", @@ -162387,6 +163641,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -162534,6 +163794,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -164098,6 +165359,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -164245,6 +165512,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -165860,6 +167128,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -166007,6 +167281,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -176664,10 +177939,11 @@ "items": { "properties": { "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -177486,6 +178762,66 @@ "type" ] }, + "al": { + "description": "Options for the registration in AL.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "am": { + "description": "Options for the registration in AM.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "ao": { + "description": "Options for the registration in AO.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "at": { "description": "Options for the registration in AT.", "properties": { @@ -177551,6 +178887,46 @@ "type" ] }, + "ba": { + "description": "Options for the registration in BA.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "bb": { + "description": "Options for the registration in BB.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "be": { "description": "Options for the registration in BE.", "properties": { @@ -177661,6 +179037,26 @@ "type" ] }, + "bs": { + "description": "Options for the registration in BS.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "by": { "description": "Options for the registration in BY.", "properties": { @@ -177722,6 +179118,26 @@ "type" ] }, + "cd": { + "description": "Options for the registration in CD.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "ch": { "description": "Options for the registration in CH.", "properties": { @@ -178242,6 +179658,26 @@ "type" ] }, + "gn": { + "description": "Options for the registration in GN.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "gr": { "description": "Options for the registration in GR.", "properties": { @@ -178547,6 +179983,26 @@ "type" ] }, + "kh": { + "description": "Options for the registration in KH.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "kr": { "description": "Options for the registration in KR.", "properties": { @@ -178762,6 +180218,66 @@ "type" ] }, + "me": { + "description": "Options for the registration in ME.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "mk": { + "description": "Options for the registration in MK.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "mr": { + "description": "Options for the registration in MR.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "mt": { "description": "Options for the registration in MT.", "properties": { @@ -178932,6 +180448,26 @@ "type" ] }, + "np": { + "description": "Options for the registration in NP.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "nz": { "description": "Options for the registration in NZ.", "properties": { @@ -178972,6 +180508,26 @@ "type" ] }, + "pe": { + "description": "Options for the registration in PE.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "pl": { "description": "Options for the registration in PL.", "properties": { @@ -179322,6 +180878,46 @@ "type" ] }, + "sn": { + "description": "Options for the registration in SN.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "sr": { + "description": "Options for the registration in SR.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "th": { "description": "Options for the registration in TH.", "properties": { @@ -179342,6 +180938,26 @@ "type" ] }, + "tj": { + "description": "Options for the registration in TJ.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "tr": { "description": "Options for the registration in TR.", "properties": { @@ -179382,6 +180998,26 @@ "type" ] }, + "ug": { + "description": "Options for the registration in UG.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "us": { "description": "Options for the registration in US.", "properties": { @@ -179497,6 +181133,26 @@ "type" ] }, + "uy": { + "description": "Options for the registration in UY.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "uz": { "description": "Options for the registration in UZ.", "properties": { @@ -179556,6 +181212,46 @@ "x-stripeMostCommon": [ "type" ] + }, + "zm": { + "description": "Options for the registration in ZM.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "simplified" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "simplified", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "zw": { + "description": "Options for the registration in ZW.", + "properties": { + "type": { + "description": "Type of registration to be created in `country`.", + "enum": [ + "standard" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "default", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] } }, "title": "country_options", @@ -181024,10 +182720,11 @@ ] }, "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`", "enum": [ "ad_nrt", "ae_trn", + "al_tin", "am_tin", "ao_tin", "ar_cuit", @@ -182232,8 +183929,38 @@ "smart_tip_threshold" ] }, - "czk": { - "description": "Tipping configuration for CZK", + "czk": { + "description": "Tipping configuration for CZK", + "properties": { + "fixed_amounts": { + "description": "Fixed amounts displayed when collecting a tip", + "items": { + "type": "integer" + }, + "type": "array" + }, + "percentages": { + "description": "Percentages displayed when collecting a tip", + "items": { + "type": "integer" + }, + "type": "array" + }, + "smart_tip_threshold": { + "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed", + "type": "integer" + } + }, + "title": "currency_specific_config", + "type": "object", + "x-stripeMostCommon": [ + "fixed_amounts", + "percentages", + "smart_tip_threshold" + ] + }, + "dkk": { + "description": "Tipping configuration for DKK", "properties": { "fixed_amounts": { "description": "Fixed amounts displayed when collecting a tip", @@ -182262,8 +183989,8 @@ "smart_tip_threshold" ] }, - "dkk": { - "description": "Tipping configuration for DKK", + "eur": { + "description": "Tipping configuration for EUR", "properties": { "fixed_amounts": { "description": "Fixed amounts displayed when collecting a tip", @@ -182292,8 +184019,8 @@ "smart_tip_threshold" ] }, - "eur": { - "description": "Tipping configuration for EUR", + "gbp": { + "description": "Tipping configuration for GBP", "properties": { "fixed_amounts": { "description": "Fixed amounts displayed when collecting a tip", @@ -182322,8 +184049,8 @@ "smart_tip_threshold" ] }, - "gbp": { - "description": "Tipping configuration for GBP", + "hkd": { + "description": "Tipping configuration for HKD", "properties": { "fixed_amounts": { "description": "Fixed amounts displayed when collecting a tip", @@ -182352,8 +184079,8 @@ "smart_tip_threshold" ] }, - "hkd": { - "description": "Tipping configuration for HKD", + "jpy": { + "description": "Tipping configuration for JPY", "properties": { "fixed_amounts": { "description": "Fixed amounts displayed when collecting a tip", @@ -182604,6 +184331,7 @@ "eur", "gbp", "hkd", + "jpy", "myr", "nok", "nzd", @@ -183248,6 +184976,36 @@ "smart_tip_threshold" ] }, + "jpy": { + "description": "Tipping configuration for JPY", + "properties": { + "fixed_amounts": { + "description": "Fixed amounts displayed when collecting a tip", + "items": { + "type": "integer" + }, + "type": "array" + }, + "percentages": { + "description": "Percentages displayed when collecting a tip", + "items": { + "type": "integer" + }, + "type": "array" + }, + "smart_tip_threshold": { + "description": "Below this amount, fixed amounts will be displayed; above it, percentages will be displayed", + "type": "integer" + } + }, + "title": "currency_specific_config", + "type": "object", + "x-stripeMostCommon": [ + "fixed_amounts", + "percentages", + "smart_tip_threshold" + ] + }, "myr": { "description": "Tipping configuration for MYR", "properties": { @@ -183470,6 +185228,7 @@ "eur", "gbp", "hkd", + "jpy", "myr", "nok", "nzd", @@ -185943,6 +187702,12 @@ "bank" ] }, + "pay_by_bank": { + "description": "If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "payco": { "description": "If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.", "properties": {}, @@ -186090,6 +187855,7 @@ "naver_pay", "oxxo", "p24", + "pay_by_bank", "payco", "paynow", "paypal", @@ -192582,6 +194348,32 @@ "description": "Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.", "type": "boolean" }, + "directorship_declaration": { + "description": "This hash is used to attest that the directors information provided to Stripe is both current and correct.", + "properties": { + "date": { + "description": "The Unix timestamp marking when the directorship declaration attestation was made.", + "format": "unix-time", + "type": "integer" + }, + "ip": { + "description": "The IP address from which the directorship declaration attestation was made.", + "type": "string" + }, + "user_agent": { + "description": "The user agent of the browser from which the directorship declaration attestation was made.", + "maxLength": 5000, + "type": "string" + } + }, + "title": "company_directorship_declaration", + "type": "object", + "x-stripeMostCommon": [ + "date", + "ip", + "user_agent" + ] + }, "executives_provided": { "description": "Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.", "type": "boolean" @@ -192645,6 +194437,14 @@ "description": "Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct.", "type": "boolean" }, + "ownership_exemption_reason": { + "enum": [ + "", + "qualified_entity_exceeds_ownership_threshold", + "qualifies_as_financial_institution" + ], + "type": "string" + }, "phone": { "description": "The company's phone number (used for verification).", "maxLength": 5000, @@ -192742,6 +194542,7 @@ "contact_point_verification_address", "cross_border_transaction_classifications", "directors_provided", + "directorship_declaration", "executives_provided", "export_license_id", "export_purpose_code", @@ -196550,6 +198351,10 @@ "explode": true, "style": "deepObject" }, + "nickname": { + "explode": true, + "style": "deepObject" + }, "platform_restrictions": { "explode": true, "style": "deepObject" @@ -196727,6 +198532,7 @@ "type": "object", "x-stripeMostCommon": [ "ach", + "us_check", "us_domestic_wire" ] }, @@ -196797,6 +198603,21 @@ "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.", "type": "object" }, + "nickname": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The nickname for the FinancialAccount." + }, "platform_restrictions": { "description": "The set of functionalities that the platform can restrict on the FinancialAccount.", "properties": { @@ -196842,6 +198663,7 @@ "x-stripeMostCommon": [ "features", "metadata", + "nickname", "platform_restrictions", "supported_currencies" ] @@ -196970,10 +198792,18 @@ "explode": true, "style": "deepObject" }, + "forwarding_settings": { + "explode": true, + "style": "deepObject" + }, "metadata": { "explode": true, "style": "deepObject" }, + "nickname": { + "explode": true, + "style": "deepObject" + }, "platform_restrictions": { "explode": true, "style": "deepObject" @@ -197147,6 +198977,7 @@ "type": "object", "x-stripeMostCommon": [ "ach", + "us_check", "us_domestic_wire" ] }, @@ -197210,6 +199041,38 @@ "outbound_transfers" ] }, + "forwarding_settings": { + "description": "A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0", + "properties": { + "financial_account": { + "description": "The financial_account id", + "type": "string" + }, + "payment_method": { + "description": "The payment_method or bank account id. This needs to be a verified bank account.", + "maxLength": 5000, + "type": "string" + }, + "type": { + "description": "The type of the bank account provided. This can be either \"financial_account\" or \"payment_method\"", + "enum": [ + "financial_account", + "payment_method" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "forwarding_settings", + "type": "object", + "x-stripeMostCommon": [ + "financial_account", + "payment_method", + "type" + ] + }, "metadata": { "additionalProperties": { "type": "string" @@ -197217,6 +199080,21 @@ "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.", "type": "object" }, + "nickname": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The nickname for the FinancialAccount." + }, "platform_restrictions": { "description": "The set of functionalities that the platform can restrict on the FinancialAccount.", "properties": { @@ -197250,7 +199128,9 @@ "type": "object", "x-stripeMostCommon": [ "features", + "forwarding_settings", "metadata", + "nickname", "platform_restrictions" ] } @@ -197283,6 +199163,113 @@ "summary": "Update a FinancialAccount" } }, + "/v1/treasury/financial_accounts/{financial_account}/close": { + "post": { + "description": "

Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.

", + "operationId": "PostTreasuryFinancialAccountsFinancialAccountClose", + "parameters": [ + { + "in": "path", + "name": "financial_account", + "required": true, + "schema": { + "maxLength": 5000, + "type": "string" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "encoding": { + "expand": { + "explode": true, + "style": "deepObject" + }, + "forwarding_settings": { + "explode": true, + "style": "deepObject" + } + }, + "schema": { + "additionalProperties": false, + "properties": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, + "forwarding_settings": { + "description": "A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0", + "properties": { + "financial_account": { + "description": "The financial_account id", + "type": "string" + }, + "payment_method": { + "description": "The payment_method or bank account id. This needs to be a verified bank account.", + "maxLength": 5000, + "type": "string" + }, + "type": { + "description": "The type of the bank account provided. This can be either \"financial_account\" or \"payment_method\"", + "enum": [ + "financial_account", + "payment_method" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "forwarding_settings", + "type": "object", + "x-stripeMostCommon": [ + "financial_account", + "payment_method", + "type" + ] + } + }, + "type": "object", + "x-stripeMostCommon": [ + "forwarding_settings" + ] + } + } + }, + "required": false + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/treasury.financial_account" + } + } + }, + "description": "Successful response." + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error" + } + } + }, + "description": "Error response." + } + }, + "summary": "Close a FinancialAccount" + } + }, "/v1/treasury/financial_accounts/{financial_account}/features": { "get": { "description": "

Retrieves Features information associated with the FinancialAccount.

", @@ -197568,6 +199555,7 @@ "type": "object", "x-stripeMostCommon": [ "ach", + "us_check", "us_domestic_wire" ] }, @@ -198963,6 +200951,10 @@ "content": { "application/x-www-form-urlencoded": { "encoding": { + "destination_payment_method_data": { + "explode": true, + "style": "deepObject" + }, "destination_payment_method_options": { "explode": true, "style": "deepObject" @@ -198998,6 +200990,30 @@ "maxLength": 5000, "type": "string" }, + "destination_payment_method_data": { + "description": "Hash used to generate the PaymentMethod to be used for this OutboundTransfer. Exclusive with `destination_payment_method`.", + "properties": { + "financial_account": { + "description": "Required if type is set to `financial_account`. The FinancialAccount ID to send funds to.", + "type": "string" + }, + "type": { + "description": "The type of the destination.", + "enum": [ + "financial_account" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "payment_method_data", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, "destination_payment_method_options": { "description": "Hash describing payment method configuration details.", "properties": { @@ -199073,6 +201089,7 @@ "currency", "description", "destination_payment_method", + "destination_payment_method_data", "destination_payment_method_options", "financial_account", "metadata", @@ -199310,10 +201327,10 @@ "credit_reversal", "other", "outbound_payment", + "outbound_transfer", "payout" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" } }, "required": [ @@ -200658,7 +202675,8 @@ "2024-09-30.acacia", "2024-10-28.acacia", "2024-11-20.acacia", - "2024-12-18.acacia" + "2024-12-18.acacia", + "2025-01-27.acacia" ], "maxLength": 5000, "type": "string", diff --git a/pkg/cmd/resources_cmds.go b/pkg/cmd/resources_cmds.go index 4068dd90..2efe7249 100644 --- a/pkg/cmd/resources_cmds.go +++ b/pkg/cmd/resources_cmds.go @@ -199,169 +199,193 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { resource.NewOperationCmd(rAccountSessionsCmd.Cmd, "create", "/v1/account_sessions", http.MethodPost, map[string]string{ "account": "string", "components.account_management.enabled": "boolean", - "components.account_management.features.disable_stripe_user_authentication": "boolean", - "components.account_management.features.external_account_collection": "boolean", - "components.account_onboarding.enabled": "boolean", - "components.account_onboarding.features.disable_stripe_user_authentication": "boolean", - "components.account_onboarding.features.external_account_collection": "boolean", - "components.balances.enabled": "boolean", - "components.balances.features.disable_stripe_user_authentication": "boolean", - "components.balances.features.edit_payout_schedule": "boolean", - "components.balances.features.external_account_collection": "boolean", - "components.balances.features.instant_payouts": "boolean", - "components.balances.features.standard_payouts": "boolean", - "components.documents.enabled": "boolean", - "components.notification_banner.enabled": "boolean", - "components.notification_banner.features.disable_stripe_user_authentication": "boolean", - "components.notification_banner.features.external_account_collection": "boolean", - "components.payment_details.enabled": "boolean", - "components.payment_details.features.capture_payments": "boolean", - "components.payment_details.features.destination_on_behalf_of_charge_management": "boolean", - "components.payment_details.features.dispute_management": "boolean", - "components.payment_details.features.refund_management": "boolean", - "components.payments.enabled": "boolean", - "components.payments.features.capture_payments": "boolean", - "components.payments.features.destination_on_behalf_of_charge_management": "boolean", - "components.payments.features.dispute_management": "boolean", - "components.payments.features.refund_management": "boolean", - "components.payouts.enabled": "boolean", - "components.payouts.features.disable_stripe_user_authentication": "boolean", - "components.payouts.features.edit_payout_schedule": "boolean", - "components.payouts.features.external_account_collection": "boolean", - "components.payouts.features.instant_payouts": "boolean", - "components.payouts.features.standard_payouts": "boolean", - "components.payouts_list.enabled": "boolean", - "components.tax_registrations.enabled": "boolean", - "components.tax_settings.enabled": "boolean", + "components.account_management.features.disable_stripe_user_authentication": "boolean", + "components.account_management.features.external_account_collection": "boolean", + "components.account_onboarding.enabled": "boolean", + "components.account_onboarding.features.disable_stripe_user_authentication": "boolean", + "components.account_onboarding.features.external_account_collection": "boolean", + "components.balances.enabled": "boolean", + "components.balances.features.disable_stripe_user_authentication": "boolean", + "components.balances.features.edit_payout_schedule": "boolean", + "components.balances.features.external_account_collection": "boolean", + "components.balances.features.instant_payouts": "boolean", + "components.balances.features.standard_payouts": "boolean", + "components.documents.enabled": "boolean", + "components.financial_account.enabled": "boolean", + "components.financial_account.features.disable_stripe_user_authentication": "boolean", + "components.financial_account.features.external_account_collection": "boolean", + "components.financial_account.features.send_money": "boolean", + "components.financial_account.features.transfer_balance": "boolean", + "components.financial_account_transactions.enabled": "boolean", + "components.financial_account_transactions.features.card_spend_dispute_management": "boolean", + "components.issuing_card.enabled": "boolean", + "components.issuing_card.features.card_management": "boolean", + "components.issuing_card.features.card_spend_dispute_management": "boolean", + "components.issuing_card.features.cardholder_management": "boolean", + "components.issuing_card.features.spend_control_management": "boolean", + "components.issuing_cards_list.enabled": "boolean", + "components.issuing_cards_list.features.card_management": "boolean", + "components.issuing_cards_list.features.card_spend_dispute_management": "boolean", + "components.issuing_cards_list.features.cardholder_management": "boolean", + "components.issuing_cards_list.features.disable_stripe_user_authentication": "boolean", + "components.issuing_cards_list.features.spend_control_management": "boolean", + "components.notification_banner.enabled": "boolean", + "components.notification_banner.features.disable_stripe_user_authentication": "boolean", + "components.notification_banner.features.external_account_collection": "boolean", + "components.payment_details.enabled": "boolean", + "components.payment_details.features.capture_payments": "boolean", + "components.payment_details.features.destination_on_behalf_of_charge_management": "boolean", + "components.payment_details.features.dispute_management": "boolean", + "components.payment_details.features.refund_management": "boolean", + "components.payments.enabled": "boolean", + "components.payments.features.capture_payments": "boolean", + "components.payments.features.destination_on_behalf_of_charge_management": "boolean", + "components.payments.features.dispute_management": "boolean", + "components.payments.features.refund_management": "boolean", + "components.payouts.enabled": "boolean", + "components.payouts.features.disable_stripe_user_authentication": "boolean", + "components.payouts.features.edit_payout_schedule": "boolean", + "components.payouts.features.external_account_collection": "boolean", + "components.payouts.features.instant_payouts": "boolean", + "components.payouts.features.standard_payouts": "boolean", + "components.payouts_list.enabled": "boolean", + "components.tax_registrations.enabled": "boolean", + "components.tax_settings.enabled": "boolean", }, &Config) resource.NewOperationCmd(rAccountsCmd.Cmd, "capabilities", "/v1/accounts/{account}/capabilities", http.MethodGet, map[string]string{}, &Config) resource.NewOperationCmd(rAccountsCmd.Cmd, "create", "/v1/accounts", http.MethodPost, map[string]string{ - "account_token": "string", - "business_profile.annual_revenue.amount": "integer", - "business_profile.annual_revenue.currency": "string", - "business_profile.annual_revenue.fiscal_year_end": "string", - "business_profile.estimated_worker_count": "integer", - "business_profile.mcc": "string", - "business_profile.monthly_estimated_revenue.amount": "integer", - "business_profile.monthly_estimated_revenue.currency": "string", - "business_profile.name": "string", - "business_profile.product_description": "string", - "business_profile.support_address.city": "string", - "business_profile.support_address.country": "string", - "business_profile.support_address.line1": "string", - "business_profile.support_address.line2": "string", - "business_profile.support_address.postal_code": "string", - "business_profile.support_address.state": "string", - "business_profile.support_email": "string", - "business_profile.support_phone": "string", - "business_profile.support_url": "string", - "business_profile.url": "string", - "business_type": "string", - "capabilities.acss_debit_payments.requested": "boolean", - "capabilities.affirm_payments.requested": "boolean", - "capabilities.afterpay_clearpay_payments.requested": "boolean", - "capabilities.alma_payments.requested": "boolean", - "capabilities.amazon_pay_payments.requested": "boolean", - "capabilities.au_becs_debit_payments.requested": "boolean", - "capabilities.bacs_debit_payments.requested": "boolean", - "capabilities.bancontact_payments.requested": "boolean", - "capabilities.bank_transfer_payments.requested": "boolean", - "capabilities.blik_payments.requested": "boolean", - "capabilities.boleto_payments.requested": "boolean", - "capabilities.card_issuing.requested": "boolean", - "capabilities.card_payments.requested": "boolean", - "capabilities.cartes_bancaires_payments.requested": "boolean", - "capabilities.cashapp_payments.requested": "boolean", - "capabilities.eps_payments.requested": "boolean", - "capabilities.fpx_payments.requested": "boolean", - "capabilities.gb_bank_transfer_payments.requested": "boolean", - "capabilities.giropay_payments.requested": "boolean", - "capabilities.grabpay_payments.requested": "boolean", - "capabilities.ideal_payments.requested": "boolean", - "capabilities.india_international_payments.requested": "boolean", - "capabilities.jcb_payments.requested": "boolean", - "capabilities.jp_bank_transfer_payments.requested": "boolean", - "capabilities.kakao_pay_payments.requested": "boolean", - "capabilities.klarna_payments.requested": "boolean", - "capabilities.konbini_payments.requested": "boolean", - "capabilities.kr_card_payments.requested": "boolean", - "capabilities.legacy_payments.requested": "boolean", - "capabilities.link_payments.requested": "boolean", - "capabilities.mobilepay_payments.requested": "boolean", - "capabilities.multibanco_payments.requested": "boolean", - "capabilities.mx_bank_transfer_payments.requested": "boolean", - "capabilities.naver_pay_payments.requested": "boolean", - "capabilities.oxxo_payments.requested": "boolean", - "capabilities.p24_payments.requested": "boolean", - "capabilities.payco_payments.requested": "boolean", - "capabilities.paynow_payments.requested": "boolean", - "capabilities.promptpay_payments.requested": "boolean", - "capabilities.revolut_pay_payments.requested": "boolean", - "capabilities.samsung_pay_payments.requested": "boolean", - "capabilities.sepa_bank_transfer_payments.requested": "boolean", - "capabilities.sepa_debit_payments.requested": "boolean", - "capabilities.sofort_payments.requested": "boolean", - "capabilities.swish_payments.requested": "boolean", - "capabilities.tax_reporting_us_1099_k.requested": "boolean", - "capabilities.tax_reporting_us_1099_misc.requested": "boolean", - "capabilities.transfers.requested": "boolean", - "capabilities.treasury.requested": "boolean", - "capabilities.twint_payments.requested": "boolean", - "capabilities.us_bank_account_ach_payments.requested": "boolean", - "capabilities.us_bank_transfer_payments.requested": "boolean", - "capabilities.zip_payments.requested": "boolean", - "company.address.city": "string", - "company.address.country": "string", - "company.address.line1": "string", - "company.address.line2": "string", - "company.address.postal_code": "string", - "company.address.state": "string", - "company.address_kana.city": "string", - "company.address_kana.country": "string", - "company.address_kana.line1": "string", - "company.address_kana.line2": "string", - "company.address_kana.postal_code": "string", - "company.address_kana.state": "string", - "company.address_kana.town": "string", - "company.address_kanji.city": "string", - "company.address_kanji.country": "string", - "company.address_kanji.line1": "string", - "company.address_kanji.line2": "string", - "company.address_kanji.postal_code": "string", - "company.address_kanji.state": "string", - "company.address_kanji.town": "string", - "company.directors_provided": "boolean", - "company.executives_provided": "boolean", - "company.export_license_id": "string", - "company.export_purpose_code": "string", - "company.name": "string", - "company.name_kana": "string", - "company.name_kanji": "string", - "company.owners_provided": "boolean", - "company.ownership_declaration.date": "integer", - "company.ownership_declaration.ip": "string", - "company.ownership_declaration.user_agent": "string", - "company.phone": "string", - "company.registration_number": "string", - "company.structure": "string", - "company.tax_id": "string", - "company.tax_id_registrar": "string", - "company.vat_id": "string", - "company.verification.document.back": "string", - "company.verification.document.front": "string", - "controller.fees.payer": "string", - "controller.losses.payments": "string", - "controller.requirement_collection": "string", - "controller.stripe_dashboard.type": "string", - "country": "string", - "default_currency": "string", - "documents.bank_account_ownership_verification.files": "array", - "documents.company_license.files": "array", - "documents.company_memorandum_of_association.files": "array", - "documents.company_ministerial_decree.files": "array", - "documents.company_registration_verification.files": "array", - "documents.company_tax_id_verification.files": "array", - "documents.proof_of_registration.files": "array", + "account_token": "string", + "business_profile.annual_revenue.amount": "integer", + "business_profile.annual_revenue.currency": "string", + "business_profile.annual_revenue.fiscal_year_end": "string", + "business_profile.estimated_worker_count": "integer", + "business_profile.mcc": "string", + "business_profile.monthly_estimated_revenue.amount": "integer", + "business_profile.monthly_estimated_revenue.currency": "string", + "business_profile.name": "string", + "business_profile.product_description": "string", + "business_profile.support_address.city": "string", + "business_profile.support_address.country": "string", + "business_profile.support_address.line1": "string", + "business_profile.support_address.line2": "string", + "business_profile.support_address.postal_code": "string", + "business_profile.support_address.state": "string", + "business_profile.support_email": "string", + "business_profile.support_phone": "string", + "business_profile.support_url": "string", + "business_profile.url": "string", + "business_type": "string", + "capabilities.acss_debit_payments.requested": "boolean", + "capabilities.affirm_payments.requested": "boolean", + "capabilities.afterpay_clearpay_payments.requested": "boolean", + "capabilities.alma_payments.requested": "boolean", + "capabilities.amazon_pay_payments.requested": "boolean", + "capabilities.au_becs_debit_payments.requested": "boolean", + "capabilities.bacs_debit_payments.requested": "boolean", + "capabilities.bancontact_payments.requested": "boolean", + "capabilities.bank_transfer_payments.requested": "boolean", + "capabilities.blik_payments.requested": "boolean", + "capabilities.boleto_payments.requested": "boolean", + "capabilities.card_issuing.requested": "boolean", + "capabilities.card_payments.requested": "boolean", + "capabilities.cartes_bancaires_payments.requested": "boolean", + "capabilities.cashapp_payments.requested": "boolean", + "capabilities.eps_payments.requested": "boolean", + "capabilities.fpx_payments.requested": "boolean", + "capabilities.gb_bank_transfer_payments.requested": "boolean", + "capabilities.giropay_payments.requested": "boolean", + "capabilities.grabpay_payments.requested": "boolean", + "capabilities.ideal_payments.requested": "boolean", + "capabilities.india_international_payments.requested": "boolean", + "capabilities.jcb_payments.requested": "boolean", + "capabilities.jp_bank_transfer_payments.requested": "boolean", + "capabilities.kakao_pay_payments.requested": "boolean", + "capabilities.klarna_payments.requested": "boolean", + "capabilities.konbini_payments.requested": "boolean", + "capabilities.kr_card_payments.requested": "boolean", + "capabilities.legacy_payments.requested": "boolean", + "capabilities.link_payments.requested": "boolean", + "capabilities.mobilepay_payments.requested": "boolean", + "capabilities.multibanco_payments.requested": "boolean", + "capabilities.mx_bank_transfer_payments.requested": "boolean", + "capabilities.naver_pay_payments.requested": "boolean", + "capabilities.oxxo_payments.requested": "boolean", + "capabilities.p24_payments.requested": "boolean", + "capabilities.pay_by_bank_payments.requested": "boolean", + "capabilities.payco_payments.requested": "boolean", + "capabilities.paynow_payments.requested": "boolean", + "capabilities.promptpay_payments.requested": "boolean", + "capabilities.revolut_pay_payments.requested": "boolean", + "capabilities.samsung_pay_payments.requested": "boolean", + "capabilities.sepa_bank_transfer_payments.requested": "boolean", + "capabilities.sepa_debit_payments.requested": "boolean", + "capabilities.sofort_payments.requested": "boolean", + "capabilities.swish_payments.requested": "boolean", + "capabilities.tax_reporting_us_1099_k.requested": "boolean", + "capabilities.tax_reporting_us_1099_misc.requested": "boolean", + "capabilities.transfers.requested": "boolean", + "capabilities.treasury.requested": "boolean", + "capabilities.twint_payments.requested": "boolean", + "capabilities.us_bank_account_ach_payments.requested": "boolean", + "capabilities.us_bank_transfer_payments.requested": "boolean", + "capabilities.zip_payments.requested": "boolean", + "company.address.city": "string", + "company.address.country": "string", + "company.address.line1": "string", + "company.address.line2": "string", + "company.address.postal_code": "string", + "company.address.state": "string", + "company.address_kana.city": "string", + "company.address_kana.country": "string", + "company.address_kana.line1": "string", + "company.address_kana.line2": "string", + "company.address_kana.postal_code": "string", + "company.address_kana.state": "string", + "company.address_kana.town": "string", + "company.address_kanji.city": "string", + "company.address_kanji.country": "string", + "company.address_kanji.line1": "string", + "company.address_kanji.line2": "string", + "company.address_kanji.postal_code": "string", + "company.address_kanji.state": "string", + "company.address_kanji.town": "string", + "company.directors_provided": "boolean", + "company.directorship_declaration.date": "integer", + "company.directorship_declaration.ip": "string", + "company.directorship_declaration.user_agent": "string", + "company.executives_provided": "boolean", + "company.export_license_id": "string", + "company.export_purpose_code": "string", + "company.name": "string", + "company.name_kana": "string", + "company.name_kanji": "string", + "company.owners_provided": "boolean", + "company.ownership_declaration.date": "integer", + "company.ownership_declaration.ip": "string", + "company.ownership_declaration.user_agent": "string", + "company.ownership_exemption_reason": "string", + "company.phone": "string", + "company.registration_number": "string", + "company.structure": "string", + "company.tax_id": "string", + "company.tax_id_registrar": "string", + "company.vat_id": "string", + "company.verification.document.back": "string", + "company.verification.document.front": "string", + "controller.fees.payer": "string", + "controller.losses.payments": "string", + "controller.requirement_collection": "string", + "controller.stripe_dashboard.type": "string", + "country": "string", + "default_currency": "string", + "documents.bank_account_ownership_verification.files": "array", + "documents.company_license.files": "array", + "documents.company_memorandum_of_association.files": "array", + "documents.company_ministerial_decree.files": "array", + "documents.company_registration_verification.files": "array", + "documents.company_tax_id_verification.files": "array", + "documents.proof_of_registration.files": "array", + "documents.proof_of_ultimate_beneficial_ownership.files": "array", "email": "string", "external_account": "string", "groups.payments_pricing": "string", @@ -463,127 +487,133 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { }, &Config) resource.NewOperationCmd(rAccountsCmd.Cmd, "retrieve", "/v1/account", http.MethodGet, map[string]string{}, &Config) resource.NewOperationCmd(rAccountsCmd.Cmd, "update", "/v1/accounts/{account}", http.MethodPost, map[string]string{ - "account_token": "string", - "business_profile.annual_revenue.amount": "integer", - "business_profile.annual_revenue.currency": "string", - "business_profile.annual_revenue.fiscal_year_end": "string", - "business_profile.estimated_worker_count": "integer", - "business_profile.mcc": "string", - "business_profile.monthly_estimated_revenue.amount": "integer", - "business_profile.monthly_estimated_revenue.currency": "string", - "business_profile.name": "string", - "business_profile.product_description": "string", - "business_profile.support_address.city": "string", - "business_profile.support_address.country": "string", - "business_profile.support_address.line1": "string", - "business_profile.support_address.line2": "string", - "business_profile.support_address.postal_code": "string", - "business_profile.support_address.state": "string", - "business_profile.support_email": "string", - "business_profile.support_phone": "string", - "business_profile.support_url": "string", - "business_profile.url": "string", - "business_type": "string", - "capabilities.acss_debit_payments.requested": "boolean", - "capabilities.affirm_payments.requested": "boolean", - "capabilities.afterpay_clearpay_payments.requested": "boolean", - "capabilities.alma_payments.requested": "boolean", - "capabilities.amazon_pay_payments.requested": "boolean", - "capabilities.au_becs_debit_payments.requested": "boolean", - "capabilities.bacs_debit_payments.requested": "boolean", - "capabilities.bancontact_payments.requested": "boolean", - "capabilities.bank_transfer_payments.requested": "boolean", - "capabilities.blik_payments.requested": "boolean", - "capabilities.boleto_payments.requested": "boolean", - "capabilities.card_issuing.requested": "boolean", - "capabilities.card_payments.requested": "boolean", - "capabilities.cartes_bancaires_payments.requested": "boolean", - "capabilities.cashapp_payments.requested": "boolean", - "capabilities.eps_payments.requested": "boolean", - "capabilities.fpx_payments.requested": "boolean", - "capabilities.gb_bank_transfer_payments.requested": "boolean", - "capabilities.giropay_payments.requested": "boolean", - "capabilities.grabpay_payments.requested": "boolean", - "capabilities.ideal_payments.requested": "boolean", - "capabilities.india_international_payments.requested": "boolean", - "capabilities.jcb_payments.requested": "boolean", - "capabilities.jp_bank_transfer_payments.requested": "boolean", - "capabilities.kakao_pay_payments.requested": "boolean", - "capabilities.klarna_payments.requested": "boolean", - "capabilities.konbini_payments.requested": "boolean", - "capabilities.kr_card_payments.requested": "boolean", - "capabilities.legacy_payments.requested": "boolean", - "capabilities.link_payments.requested": "boolean", - "capabilities.mobilepay_payments.requested": "boolean", - "capabilities.multibanco_payments.requested": "boolean", - "capabilities.mx_bank_transfer_payments.requested": "boolean", - "capabilities.naver_pay_payments.requested": "boolean", - "capabilities.oxxo_payments.requested": "boolean", - "capabilities.p24_payments.requested": "boolean", - "capabilities.payco_payments.requested": "boolean", - "capabilities.paynow_payments.requested": "boolean", - "capabilities.promptpay_payments.requested": "boolean", - "capabilities.revolut_pay_payments.requested": "boolean", - "capabilities.samsung_pay_payments.requested": "boolean", - "capabilities.sepa_bank_transfer_payments.requested": "boolean", - "capabilities.sepa_debit_payments.requested": "boolean", - "capabilities.sofort_payments.requested": "boolean", - "capabilities.swish_payments.requested": "boolean", - "capabilities.tax_reporting_us_1099_k.requested": "boolean", - "capabilities.tax_reporting_us_1099_misc.requested": "boolean", - "capabilities.transfers.requested": "boolean", - "capabilities.treasury.requested": "boolean", - "capabilities.twint_payments.requested": "boolean", - "capabilities.us_bank_account_ach_payments.requested": "boolean", - "capabilities.us_bank_transfer_payments.requested": "boolean", - "capabilities.zip_payments.requested": "boolean", - "company.address.city": "string", - "company.address.country": "string", - "company.address.line1": "string", - "company.address.line2": "string", - "company.address.postal_code": "string", - "company.address.state": "string", - "company.address_kana.city": "string", - "company.address_kana.country": "string", - "company.address_kana.line1": "string", - "company.address_kana.line2": "string", - "company.address_kana.postal_code": "string", - "company.address_kana.state": "string", - "company.address_kana.town": "string", - "company.address_kanji.city": "string", - "company.address_kanji.country": "string", - "company.address_kanji.line1": "string", - "company.address_kanji.line2": "string", - "company.address_kanji.postal_code": "string", - "company.address_kanji.state": "string", - "company.address_kanji.town": "string", - "company.directors_provided": "boolean", - "company.executives_provided": "boolean", - "company.export_license_id": "string", - "company.export_purpose_code": "string", - "company.name": "string", - "company.name_kana": "string", - "company.name_kanji": "string", - "company.owners_provided": "boolean", - "company.ownership_declaration.date": "integer", - "company.ownership_declaration.ip": "string", - "company.ownership_declaration.user_agent": "string", - "company.phone": "string", - "company.registration_number": "string", - "company.structure": "string", - "company.tax_id": "string", - "company.tax_id_registrar": "string", - "company.vat_id": "string", - "company.verification.document.back": "string", - "company.verification.document.front": "string", - "default_currency": "string", - "documents.bank_account_ownership_verification.files": "array", - "documents.company_license.files": "array", - "documents.company_memorandum_of_association.files": "array", - "documents.company_ministerial_decree.files": "array", - "documents.company_registration_verification.files": "array", - "documents.company_tax_id_verification.files": "array", - "documents.proof_of_registration.files": "array", + "account_token": "string", + "business_profile.annual_revenue.amount": "integer", + "business_profile.annual_revenue.currency": "string", + "business_profile.annual_revenue.fiscal_year_end": "string", + "business_profile.estimated_worker_count": "integer", + "business_profile.mcc": "string", + "business_profile.monthly_estimated_revenue.amount": "integer", + "business_profile.monthly_estimated_revenue.currency": "string", + "business_profile.name": "string", + "business_profile.product_description": "string", + "business_profile.support_address.city": "string", + "business_profile.support_address.country": "string", + "business_profile.support_address.line1": "string", + "business_profile.support_address.line2": "string", + "business_profile.support_address.postal_code": "string", + "business_profile.support_address.state": "string", + "business_profile.support_email": "string", + "business_profile.support_phone": "string", + "business_profile.support_url": "string", + "business_profile.url": "string", + "business_type": "string", + "capabilities.acss_debit_payments.requested": "boolean", + "capabilities.affirm_payments.requested": "boolean", + "capabilities.afterpay_clearpay_payments.requested": "boolean", + "capabilities.alma_payments.requested": "boolean", + "capabilities.amazon_pay_payments.requested": "boolean", + "capabilities.au_becs_debit_payments.requested": "boolean", + "capabilities.bacs_debit_payments.requested": "boolean", + "capabilities.bancontact_payments.requested": "boolean", + "capabilities.bank_transfer_payments.requested": "boolean", + "capabilities.blik_payments.requested": "boolean", + "capabilities.boleto_payments.requested": "boolean", + "capabilities.card_issuing.requested": "boolean", + "capabilities.card_payments.requested": "boolean", + "capabilities.cartes_bancaires_payments.requested": "boolean", + "capabilities.cashapp_payments.requested": "boolean", + "capabilities.eps_payments.requested": "boolean", + "capabilities.fpx_payments.requested": "boolean", + "capabilities.gb_bank_transfer_payments.requested": "boolean", + "capabilities.giropay_payments.requested": "boolean", + "capabilities.grabpay_payments.requested": "boolean", + "capabilities.ideal_payments.requested": "boolean", + "capabilities.india_international_payments.requested": "boolean", + "capabilities.jcb_payments.requested": "boolean", + "capabilities.jp_bank_transfer_payments.requested": "boolean", + "capabilities.kakao_pay_payments.requested": "boolean", + "capabilities.klarna_payments.requested": "boolean", + "capabilities.konbini_payments.requested": "boolean", + "capabilities.kr_card_payments.requested": "boolean", + "capabilities.legacy_payments.requested": "boolean", + "capabilities.link_payments.requested": "boolean", + "capabilities.mobilepay_payments.requested": "boolean", + "capabilities.multibanco_payments.requested": "boolean", + "capabilities.mx_bank_transfer_payments.requested": "boolean", + "capabilities.naver_pay_payments.requested": "boolean", + "capabilities.oxxo_payments.requested": "boolean", + "capabilities.p24_payments.requested": "boolean", + "capabilities.pay_by_bank_payments.requested": "boolean", + "capabilities.payco_payments.requested": "boolean", + "capabilities.paynow_payments.requested": "boolean", + "capabilities.promptpay_payments.requested": "boolean", + "capabilities.revolut_pay_payments.requested": "boolean", + "capabilities.samsung_pay_payments.requested": "boolean", + "capabilities.sepa_bank_transfer_payments.requested": "boolean", + "capabilities.sepa_debit_payments.requested": "boolean", + "capabilities.sofort_payments.requested": "boolean", + "capabilities.swish_payments.requested": "boolean", + "capabilities.tax_reporting_us_1099_k.requested": "boolean", + "capabilities.tax_reporting_us_1099_misc.requested": "boolean", + "capabilities.transfers.requested": "boolean", + "capabilities.treasury.requested": "boolean", + "capabilities.twint_payments.requested": "boolean", + "capabilities.us_bank_account_ach_payments.requested": "boolean", + "capabilities.us_bank_transfer_payments.requested": "boolean", + "capabilities.zip_payments.requested": "boolean", + "company.address.city": "string", + "company.address.country": "string", + "company.address.line1": "string", + "company.address.line2": "string", + "company.address.postal_code": "string", + "company.address.state": "string", + "company.address_kana.city": "string", + "company.address_kana.country": "string", + "company.address_kana.line1": "string", + "company.address_kana.line2": "string", + "company.address_kana.postal_code": "string", + "company.address_kana.state": "string", + "company.address_kana.town": "string", + "company.address_kanji.city": "string", + "company.address_kanji.country": "string", + "company.address_kanji.line1": "string", + "company.address_kanji.line2": "string", + "company.address_kanji.postal_code": "string", + "company.address_kanji.state": "string", + "company.address_kanji.town": "string", + "company.directors_provided": "boolean", + "company.directorship_declaration.date": "integer", + "company.directorship_declaration.ip": "string", + "company.directorship_declaration.user_agent": "string", + "company.executives_provided": "boolean", + "company.export_license_id": "string", + "company.export_purpose_code": "string", + "company.name": "string", + "company.name_kana": "string", + "company.name_kanji": "string", + "company.owners_provided": "boolean", + "company.ownership_declaration.date": "integer", + "company.ownership_declaration.ip": "string", + "company.ownership_declaration.user_agent": "string", + "company.ownership_exemption_reason": "string", + "company.phone": "string", + "company.registration_number": "string", + "company.structure": "string", + "company.tax_id": "string", + "company.tax_id_registrar": "string", + "company.vat_id": "string", + "company.verification.document.back": "string", + "company.verification.document.front": "string", + "default_currency": "string", + "documents.bank_account_ownership_verification.files": "array", + "documents.company_license.files": "array", + "documents.company_memorandum_of_association.files": "array", + "documents.company_ministerial_decree.files": "array", + "documents.company_registration_verification.files": "array", + "documents.company_tax_id_verification.files": "array", + "documents.proof_of_registration.files": "array", + "documents.proof_of_ultimate_beneficial_ownership.files": "array", "email": "string", "external_account": "string", "groups.payments_pricing": "string", @@ -1779,6 +1809,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "payment_intent_data.transfer_group": "string", "payment_method_collection": "string", "payment_method_types": "array", + "phone_number_collection.enabled": "boolean", "submit_type": "string", "subscription_data.invoice_settings.issuer.account": "string", "subscription_data.invoice_settings.issuer.type": "string", @@ -1816,10 +1847,11 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "link.display_preference.preference": "string", "mobilepay.display_preference.preference": "string", "multibanco.display_preference.preference": "string", - "name": "string", - "oxxo.display_preference.preference": "string", - "p24.display_preference.preference": "string", - "parent": "string", + "name": "string", + "oxxo.display_preference.preference": "string", + "p24.display_preference.preference": "string", + "parent": "string", + "pay_by_bank.display_preference.preference": "string", "paynow.display_preference.preference": "string", "paypal.display_preference.preference": "string", "promptpay.display_preference.preference": "string", @@ -1873,6 +1905,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "name": "string", "oxxo.display_preference.preference": "string", "p24.display_preference.preference": "string", + "pay_by_bank.display_preference.preference": "string", "paynow.display_preference.preference": "string", "paypal.display_preference.preference": "string", "promptpay.display_preference.preference": "string", @@ -3072,6 +3105,9 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "account.company.address_kanji.state": "string", "account.company.address_kanji.town": "string", "account.company.directors_provided": "boolean", + "account.company.directorship_declaration.date": "integer", + "account.company.directorship_declaration.ip": "string", + "account.company.directorship_declaration.user_agent": "string", "account.company.executives_provided": "boolean", "account.company.export_license_id": "string", "account.company.export_purpose_code": "string", @@ -3083,6 +3119,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "account.company.ownership_declaration.ip": "string", "account.company.ownership_declaration.user_agent": "string", "account.company.ownership_declaration_shown_and_signed": "boolean", + "account.company.ownership_exemption_reason": "string", "account.company.phone": "string", "account.company.registration_number": "string", "account.company.structure": "string", @@ -4302,17 +4339,24 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "active_from": "string", "country": "string", "country_options.ae.type": "string", + "country_options.al.type": "string", + "country_options.am.type": "string", + "country_options.ao.type": "string", "country_options.at.standard.place_of_supply_scheme": "string", "country_options.at.type": "string", "country_options.au.type": "string", + "country_options.ba.type": "string", + "country_options.bb.type": "string", "country_options.be.standard.place_of_supply_scheme": "string", "country_options.be.type": "string", "country_options.bg.standard.place_of_supply_scheme": "string", "country_options.bg.type": "string", "country_options.bh.type": "string", + "country_options.bs.type": "string", "country_options.by.type": "string", "country_options.ca.province_standard.province": "string", "country_options.ca.type": "string", + "country_options.cd.type": "string", "country_options.ch.type": "string", "country_options.cl.type": "string", "country_options.co.type": "string", @@ -4337,6 +4381,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "country_options.fr.type": "string", "country_options.gb.type": "string", "country_options.ge.type": "string", + "country_options.gn.type": "string", "country_options.gr.standard.place_of_supply_scheme": "string", "country_options.gr.type": "string", "country_options.hr.standard.place_of_supply_scheme": "string", @@ -4351,6 +4396,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "country_options.it.type": "string", "country_options.jp.type": "string", "country_options.ke.type": "string", + "country_options.kh.type": "string", "country_options.kr.type": "string", "country_options.kz.type": "string", "country_options.lt.standard.place_of_supply_scheme": "string", @@ -4361,6 +4407,9 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "country_options.lv.type": "string", "country_options.ma.type": "string", "country_options.md.type": "string", + "country_options.me.type": "string", + "country_options.mk.type": "string", + "country_options.mr.type": "string", "country_options.mt.standard.place_of_supply_scheme": "string", "country_options.mt.type": "string", "country_options.mx.type": "string", @@ -4369,8 +4418,10 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "country_options.nl.standard.place_of_supply_scheme": "string", "country_options.nl.type": "string", "country_options.no.type": "string", + "country_options.np.type": "string", "country_options.nz.type": "string", "country_options.om.type": "string", + "country_options.pe.type": "string", "country_options.pl.standard.place_of_supply_scheme": "string", "country_options.pl.type": "string", "country_options.pt.standard.place_of_supply_scheme": "string", @@ -4387,16 +4438,23 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "country_options.si.type": "string", "country_options.sk.standard.place_of_supply_scheme": "string", "country_options.sk.type": "string", + "country_options.sn.type": "string", + "country_options.sr.type": "string", "country_options.th.type": "string", + "country_options.tj.type": "string", "country_options.tr.type": "string", "country_options.tz.type": "string", + "country_options.ug.type": "string", "country_options.us.local_amusement_tax.jurisdiction": "string", "country_options.us.local_lease_tax.jurisdiction": "string", "country_options.us.state": "string", "country_options.us.type": "string", + "country_options.uy.type": "string", "country_options.uz.type": "string", "country_options.vn.type": "string", "country_options.za.type": "string", + "country_options.zm.type": "string", + "country_options.zw.type": "string", "expires_at": "integer", }, &Config) resource.NewOperationCmd(rTaxRegistrationsCmd.Cmd, "list", "/v1/tax/registrations", http.MethodGet, map[string]string{ @@ -4876,6 +4934,11 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "status": "string", }, &Config) resource.NewOperationCmd(rTreasuryDebitReversalsCmd.Cmd, "retrieve", "/v1/treasury/debit_reversals/{debit_reversal}", http.MethodGet, map[string]string{}, &Config) + resource.NewOperationCmd(rTreasuryFinancialAccountsCmd.Cmd, "close", "/v1/treasury/financial_accounts/{financial_account}/close", http.MethodPost, map[string]string{ + "forwarding_settings.financial_account": "string", + "forwarding_settings.payment_method": "string", + "forwarding_settings.type": "string", + }, &Config) resource.NewOperationCmd(rTreasuryFinancialAccountsCmd.Cmd, "create", "/v1/treasury/financial_accounts", http.MethodPost, map[string]string{ "features.card_issuing.requested": "boolean", "features.deposit_insurance.requested": "boolean", @@ -4886,9 +4949,10 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "features.outbound_payments.us_domestic_wire.requested": "boolean", "features.outbound_transfers.ach.requested": "boolean", "features.outbound_transfers.us_domestic_wire.requested": "boolean", - "platform_restrictions.inbound_flows": "string", - "platform_restrictions.outbound_flows": "string", - "supported_currencies": "array", + "nickname": "string", + "platform_restrictions.inbound_flows": "string", + "platform_restrictions.outbound_flows": "string", + "supported_currencies": "array", }, &Config) resource.NewOperationCmd(rTreasuryFinancialAccountsCmd.Cmd, "list", "/v1/treasury/financial_accounts", http.MethodGet, map[string]string{ "created": "integer", @@ -4908,6 +4972,10 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "features.outbound_payments.us_domestic_wire.requested": "boolean", "features.outbound_transfers.ach.requested": "boolean", "features.outbound_transfers.us_domestic_wire.requested": "boolean", + "forwarding_settings.financial_account": "string", + "forwarding_settings.payment_method": "string", + "forwarding_settings.type": "string", + "nickname": "string", "platform_restrictions.inbound_flows": "string", "platform_restrictions.outbound_flows": "string", }, &Config) @@ -4994,8 +5062,10 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "currency": "string", "description": "string", "destination_payment_method": "string", - "financial_account": "string", - "statement_descriptor": "string", + "destination_payment_method_data.financial_account": "string", + "destination_payment_method_data.type": "string", + "financial_account": "string", + "statement_descriptor": "string", }, &Config) resource.NewOperationCmd(rTreasuryOutboundTransfersCmd.Cmd, "list", "/v1/treasury/outbound_transfers", http.MethodGet, map[string]string{ "ending_before": "string",