diff --git a/.latest-tag-stripe-openapi-sdk b/.latest-tag-stripe-openapi-sdk index 7a598060..4118a786 100644 --- a/.latest-tag-stripe-openapi-sdk +++ b/.latest-tag-stripe-openapi-sdk @@ -1 +1 @@ -v634 +v638 diff --git a/lib/generated/account.ex b/lib/generated/account.ex index 3cb4b083..df8e1713 100644 --- a/lib/generated/account.ex +++ b/lib/generated/account.ex @@ -91,7 +91,7 @@ defmodule Stripe.Account do ) ( - @typedoc "The Kanji variation of the the individual's primary address (Japan only)." + @typedoc "The Kanji variation of the company's primary address (Japan only)." @type address_kanji :: %{ optional(:city) => binary, optional(:country) => binary, @@ -207,6 +207,7 @@ defmodule Stripe.Account do optional(:giropay_payments) => giropay_payments, optional(:legacy_payments) => legacy_payments, optional(:sepa_debit_payments) => sepa_debit_payments, + optional(:revolut_pay_payments) => revolut_pay_payments, optional(:transfers) => transfers, optional(:eps_payments) => eps_payments, optional(:grabpay_payments) => grabpay_payments, @@ -216,8 +217,8 @@ defmodule Stripe.Account do ) ( - @typedoc "The card_issuing capability." - @type card_issuing :: %{optional(:requested) => boolean} + @typedoc "Settings specific to the account's use of the Card Issuing product." + @type card_issuing :: %{optional(:tos_acceptance) => tos_acceptance} ) ( @@ -515,6 +516,11 @@ defmodule Stripe.Account do } ) + ( + @typedoc "The revolut_pay_payments capability." + @type revolut_pay_payments :: %{optional(:requested) => boolean} + ) + ( @typedoc "Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://stripe.com/docs/connect/bank-transfers#payout-information) documentation." @type schedule :: %{ diff --git a/lib/generated/checkout__session.ex b/lib/generated/checkout__session.ex index 95083d9e..265482e7 100644 --- a/lib/generated/checkout__session.ex +++ b/lib/generated/checkout__session.ex @@ -238,15 +238,7 @@ defmodule Stripe.Checkout.Session do ( @typedoc nil - @type custom_fields :: %{ - optional(:dropdown) => dropdown, - optional(:key) => binary, - optional(:label) => label, - optional(:numeric) => numeric, - optional(:optional) => boolean, - optional(:text) => text, - optional(:type) => :dropdown | :numeric | :text - } + @type custom_fields :: %{optional(:name) => binary, optional(:value) => binary} ) ( @@ -509,6 +501,7 @@ defmodule Stripe.Checkout.Session do optional(:paynow) => paynow, optional(:paypal) => paypal, optional(:pix) => pix, + optional(:revolut_pay) => revolut_pay, optional(:sepa_debit) => sepa_debit, optional(:sofort) => sofort, optional(:us_bank_account) => us_bank_account, @@ -610,6 +603,11 @@ defmodule Stripe.Checkout.Session do } ) + ( + @typedoc "contains details about the RevolutPay payment method options." + @type revolut_pay :: %{optional(:setup_future_usage) => :none | :off_session} + ) + ( @typedoc "contains details about the Sepa Debit payment method options." @type sepa_debit :: %{optional(:setup_future_usage) => :none | :off_session | :on_session} @@ -950,11 +948,8 @@ defmodule Stripe.Checkout.Session do ) ( - @typedoc "If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges." - @type transfer_data :: %{ - optional(:amount_percent) => number, - optional(:destination) => binary - } + @typedoc "The parameters used to automatically create a Transfer when the payment succeeds.\nFor more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts)." + @type transfer_data :: %{optional(:amount) => integer, optional(:destination) => binary} ) ( @@ -1101,6 +1096,7 @@ defmodule Stripe.Checkout.Session do | :paypal | :pix | :promptpay + | :revolut_pay | :sepa_debit | :sofort | :us_bank_account diff --git a/lib/generated/customer.ex b/lib/generated/customer.ex index 01ce382c..a460a6e4 100644 --- a/lib/generated/customer.ex +++ b/lib/generated/customer.ex @@ -521,6 +521,7 @@ defmodule Stripe.Customer do | :paypal | :pix | :promptpay + | :revolut_pay | :sepa_debit | :sofort | :us_bank_account diff --git a/lib/generated/payment_intent.ex b/lib/generated/payment_intent.ex index 482acc32..b247dcd8 100644 --- a/lib/generated/payment_intent.ex +++ b/lib/generated/payment_intent.ex @@ -136,8 +136,8 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account." - @type au_becs_debit :: %{optional(:account_number) => binary, optional(:bsb_number) => binary} + @typedoc nil + @type au_becs_debit :: %{optional(:setup_future_usage) => :none | :off_session | :on_session} ) ( @@ -192,8 +192,11 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc "If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method." - @type boleto :: %{optional(:tax_id) => binary} + @typedoc nil + @type boleto :: %{ + optional(:expires_after_days) => integer, + optional(:setup_future_usage) => :none | :off_session | :on_session + } ) ( @@ -282,8 +285,38 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc nil - @type eps :: %{optional(:setup_future_usage) => :none} + @typedoc "If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method." + @type eps :: %{ + optional(:bank) => + :arzte_und_apotheker_bank + | :austrian_anadi_bank_ag + | :bank_austria + | :bankhaus_carl_spangler + | :bankhaus_schelhammer_und_schattera_ag + | :bawag_psk_ag + | :bks_bank_ag + | :brull_kallmus_bank_ag + | :btv_vier_lander_bank + | :capital_bank_grawe_gruppe_ag + | :deutsche_bank_ag + | :dolomitenbank + | :easybank_ag + | :erste_bank_und_sparkassen + | :hypo_alpeadriabank_international_ag + | :hypo_bank_burgenland_aktiengesellschaft + | :hypo_noe_lb_fur_niederosterreich_u_wien + | :hypo_oberosterreich_salzburg_steiermark + | :hypo_tirol_bank_ag + | :hypo_vorarlberg_bank_ag + | :marchfelder_bank + | :oberbank_ag + | :raiffeisen_bankengruppe_osterreich + | :schoellerbank_ag + | :sparda_bank_wien + | :volksbank_gruppe + | :volkskreditbank_ag + | :vr_bank_braunau + } ) ( @@ -374,17 +407,12 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc "Configuration options for setting up an eMandate for cards issued in India." + @typedoc "Additional fields for Mandate creation" @type mandate_options :: %{ - optional(:amount) => integer, - optional(:amount_type) => :fixed | :maximum, - optional(:description) => binary, - optional(:end_date) => integer, - optional(:interval) => :day | :month | :sporadic | :week | :year, - optional(:interval_count) => integer, - optional(:reference) => binary, - optional(:start_date) => integer, - optional(:supported_types) => list(:india) + optional(:custom_mandate_url) => binary | binary, + optional(:interval_description) => binary, + optional(:payment_schedule) => :combined | :interval | :sporadic, + optional(:transaction_type) => :business | :personal } ) @@ -407,10 +435,34 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc nil + @typedoc "If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method." @type p24 :: %{ - optional(:setup_future_usage) => :none, - optional(:tos_shown_and_accepted) => boolean + optional(:bank) => + :alior_bank + | :bank_millennium + | :bank_nowy_bfg_sa + | :bank_pekao_sa + | :banki_spbdzielcze + | :blik + | :bnp_paribas + | :boz + | :citi_handlowy + | :credit_agricole + | :envelobank + | :etransfer_pocztowy24 + | :getin_bank + | :ideabank + | :ing + | :inteligo + | :mbank_mtransfer + | :nest_przelew + | :noble_pay + | :pbac_z_ipko + | :plus_bank + | :santander_przelew24 + | :tmobile_usbugi_bankowe + | :toyota_bank + | :volkswagen_bank } ) @@ -425,6 +477,7 @@ defmodule Stripe.PaymentIntent do optional(:alipay) => map(), optional(:giropay) => map(), optional(:ideal) => ideal, + optional(:revolut_pay) => map(), optional(:radar_options) => radar_options, optional(:metadata) => %{optional(binary) => binary}, optional(:link) => map(), @@ -469,6 +522,7 @@ defmodule Stripe.PaymentIntent do | :paypal | :pix | :promptpay + | :revolut_pay | :sepa_debit | :sofort | :us_bank_account @@ -496,6 +550,7 @@ defmodule Stripe.PaymentIntent do optional(:alipay) => alipay | binary, optional(:giropay) => giropay | binary, optional(:ideal) => ideal | binary, + optional(:revolut_pay) => revolut_pay | binary, optional(:card) => card | binary, optional(:link) => link | binary, optional(:promptpay) => promptpay | binary, @@ -590,8 +645,16 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account." - @type sepa_debit :: %{optional(:iban) => binary} + @typedoc nil + @type revolut_pay :: %{optional(:setup_future_usage) => :none | :off_session} + ) + + ( + @typedoc nil + @type sepa_debit :: %{ + optional(:mandate_options) => map(), + optional(:setup_future_usage) => :none | :off_session | :on_session + } ) ( @@ -606,11 +669,8 @@ defmodule Stripe.PaymentIntent do ) ( - @typedoc nil - @type sofort :: %{ - optional(:preferred_language) => :de | :en | :es | :fr | :it | :nl | :pl, - optional(:setup_future_usage) => :none | :off_session - } + @typedoc "If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method." + @type sofort :: %{optional(:country) => :AT | :BE | :DE | :ES | :IT | :NL} ) ( diff --git a/lib/generated/payment_link.ex b/lib/generated/payment_link.ex index da6ca8bc..5036a750 100644 --- a/lib/generated/payment_link.ex +++ b/lib/generated/payment_link.ex @@ -184,6 +184,7 @@ defmodule Stripe.PaymentLink do @typedoc "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode." @type payment_intent_data :: %{ optional(:capture_method) => :automatic | :automatic_async | :manual, + optional(:description) => binary, optional(:metadata) => %{optional(binary) => binary}, optional(:setup_future_usage) => :off_session | :on_session, optional(:statement_descriptor) => binary, diff --git a/lib/generated/payment_method.ex b/lib/generated/payment_method.ex index 2ebaa864..42991cc7 100644 --- a/lib/generated/payment_method.ex +++ b/lib/generated/payment_method.ex @@ -37,6 +37,7 @@ defmodule Stripe.PaymentMethod do :metadata, :radar_options, :card, + :revolut_pay, :ideal, :giropay, :alipay, @@ -48,7 +49,7 @@ defmodule Stripe.PaymentMethod do :pix ] - @typedoc "The `payment_method` type.\n\n * `acss_debit` \n * `affirm` \n * `afterpay_clearpay` \n * `alipay` \n * `au_becs_debit` \n * `bacs_debit` \n * `bancontact` \n * `billing_details` \n * `blik` \n * `boleto` \n * `card` \n * `card_present` \n * `cashapp` \n * `created` Time at which the object was created. Measured in seconds since the Unix epoch.\n * `customer` The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.\n * `customer_balance` \n * `eps` \n * `fpx` \n * `giropay` \n * `grabpay` \n * `id` Unique identifier for the object.\n * `ideal` \n * `interac_present` \n * `klarna` \n * `konbini` \n * `link` \n * `livemode` Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.\n * `metadata` 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.\n * `object` String representing the object's type. Objects of the same type share the same value.\n * `oxxo` \n * `p24` \n * `paynow` \n * `paypal` \n * `pix` \n * `promptpay` \n * `radar_options` \n * `sepa_debit` \n * `sofort` \n * `type` The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.\n * `us_bank_account` \n * `wechat_pay` \n * `zip` \n" + @typedoc "The `payment_method` type.\n\n * `acss_debit` \n * `affirm` \n * `afterpay_clearpay` \n * `alipay` \n * `au_becs_debit` \n * `bacs_debit` \n * `bancontact` \n * `billing_details` \n * `blik` \n * `boleto` \n * `card` \n * `card_present` \n * `cashapp` \n * `created` Time at which the object was created. Measured in seconds since the Unix epoch.\n * `customer` The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.\n * `customer_balance` \n * `eps` \n * `fpx` \n * `giropay` \n * `grabpay` \n * `id` Unique identifier for the object.\n * `ideal` \n * `interac_present` \n * `klarna` \n * `konbini` \n * `link` \n * `livemode` Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.\n * `metadata` 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.\n * `object` String representing the object's type. Objects of the same type share the same value.\n * `oxxo` \n * `p24` \n * `paynow` \n * `paypal` \n * `pix` \n * `promptpay` \n * `radar_options` \n * `revolut_pay` \n * `sepa_debit` \n * `sofort` \n * `type` The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.\n * `us_bank_account` \n * `wechat_pay` \n * `zip` \n" @type t :: %__MODULE__{ acss_debit: term, affirm: term, @@ -86,6 +87,7 @@ defmodule Stripe.PaymentMethod do pix: term, promptpay: term, radar_options: term, + revolut_pay: term, sepa_debit: term, sofort: term, type: binary, @@ -326,6 +328,7 @@ defmodule Stripe.PaymentMethod do optional(:alipay) => map(), optional(:giropay) => map(), optional(:ideal) => ideal, + optional(:revolut_pay) => map(), optional(:expand) => list(binary), optional(:card) => card | card, optional(:radar_options) => radar_options, @@ -374,6 +377,7 @@ defmodule Stripe.PaymentMethod do | :paypal | :pix | :promptpay + | :revolut_pay | :sepa_debit | :sofort | :us_bank_account @@ -533,6 +537,7 @@ defmodule Stripe.PaymentMethod do | :paypal | :pix | :promptpay + | :revolut_pay | :sepa_debit | :sofort | :us_bank_account diff --git a/lib/generated/setup_intent.ex b/lib/generated/setup_intent.ex index 35bb17a7..e8a6fe24 100644 --- a/lib/generated/setup_intent.ex +++ b/lib/generated/setup_intent.ex @@ -62,11 +62,11 @@ defmodule Stripe.SetupIntent do ) ( - @typedoc "If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options." + @typedoc "If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method." @type acss_debit :: %{ - optional(:currency) => :cad | :usd, - optional(:mandate_options) => mandate_options, - optional(:verification_method) => :automatic | :instant | :microdeposits + optional(:account_number) => binary, + optional(:institution_number) => binary, + optional(:transit_number) => binary } ) @@ -278,18 +278,13 @@ defmodule Stripe.SetupIntent do ) ( - @typedoc "Configuration options for setting up an eMandate for cards issued in India." + @typedoc "Additional fields for Mandate creation" @type mandate_options :: %{ - optional(:amount) => integer, - optional(:amount_type) => :fixed | :maximum, - optional(:currency) => binary, - optional(:description) => binary, - optional(:end_date) => integer, - optional(:interval) => :day | :month | :sporadic | :week | :year, - optional(:interval_count) => integer, - optional(:reference) => binary, - optional(:start_date) => integer, - optional(:supported_types) => list(:india) + optional(:custom_mandate_url) => binary | binary, + optional(:default_for) => list(:invoice | :subscription), + optional(:interval_description) => binary, + optional(:payment_schedule) => :combined | :interval | :sporadic, + optional(:transaction_type) => :business | :personal } ) @@ -346,6 +341,7 @@ defmodule Stripe.SetupIntent do optional(:alipay) => map(), optional(:giropay) => map(), optional(:ideal) => ideal, + optional(:revolut_pay) => map(), optional(:radar_options) => radar_options, optional(:metadata) => %{optional(binary) => binary}, optional(:link) => map(), @@ -390,6 +386,7 @@ defmodule Stripe.SetupIntent do | :paypal | :pix | :promptpay + | :revolut_pay | :sepa_debit | :sofort | :us_bank_account diff --git a/lib/generated/token.ex b/lib/generated/token.ex index 3b6698b7..47c24173 100644 --- a/lib/generated/token.ex +++ b/lib/generated/token.ex @@ -20,12 +20,11 @@ defmodule Stripe.Token do ) ( - @typedoc "Information for the account this token represents." + @typedoc "Details on the legal guardian's acceptance of the main Stripe service agreement." @type account :: %{ - optional(:business_type) => :company | :government_entity | :individual | :non_profit, - optional(:company) => company, - optional(:individual) => individual, - optional(:tos_shown_and_accepted) => boolean + optional(:date) => integer, + optional(:ip) => binary, + optional(:user_agent) => binary | binary } ) @@ -65,7 +64,7 @@ defmodule Stripe.Token do ) ( - @typedoc "The Kanji variation of the the individual's primary address (Japan only)." + @typedoc "The Kanji variation of the company's primary address (Japan only)." @type address_kanji :: %{ optional(:city) => binary, optional(:country) => binary, @@ -269,7 +268,7 @@ defmodule Stripe.Token do ) ( - @typedoc "The person's registered address." + @typedoc "The individual's registered address." @type registered_address :: %{ optional(:city) => binary, optional(:country) => binary, diff --git a/priv/openapi/spec3.sdk.json b/priv/openapi/spec3.sdk.json index 7a85b903..4b91aa3f 100644 --- a/priv/openapi/spec3.sdk.json +++ b/priv/openapi/spec3.sdk.json @@ -800,6 +800,15 @@ ], "type": "string" }, + "revolut_pay_payments": { + "description": "The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.", + "enum": [ + "active", + "inactive", + "pending" + ], + "type": "string" + }, "sepa_debit_payments": { "description": "The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.", "enum": [ @@ -2109,6 +2118,7 @@ "testmode_charges_only", "tls_version_unsupported", "token_already_used", + "token_card_network_invalid", "token_in_use", "transfer_source_balance_parameters_mismatch", "transfers_not_allowed", @@ -6953,6 +6963,17 @@ "in_package": "" } }, + "checkout_revolut_pay_payment_method_options": { + "description": "", + "properties": {}, + "title": "CheckoutRevolutPayPaymentMethodOptions", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "RevolutPay", + "in_package": "" + } + }, "checkout_sepa_debit_payment_method_options": { "description": "", "properties": { @@ -7046,6 +7067,9 @@ "pix": { "$ref": "#/components/schemas/checkout_pix_payment_method_options" }, + "revolut_pay": { + "$ref": "#/components/schemas/checkout_revolut_pay_payment_method_options" + }, "sepa_debit": { "$ref": "#/components/schemas/checkout_sepa_debit_payment_method_options" }, @@ -7082,6 +7106,7 @@ "p24", "paynow", "pix", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account" @@ -27533,6 +27558,9 @@ "promptpay": { "$ref": "#/components/schemas/payment_method_options_promptpay" }, + "revolut_pay": { + "$ref": "#/components/schemas/payment_method_options_revolut_pay" + }, "sepa_debit": { "$ref": "#/components/schemas/payment_intent_payment_method_options_sepa_debit" }, @@ -27580,6 +27608,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -29002,6 +29031,12 @@ "nullable": true, "type": "string" }, + "description": { + "description": "An arbitrary string attached to the object. Often useful for displaying to users.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "metadata": { "additionalProperties": { "maxLength": 500, @@ -29034,6 +29069,7 @@ }, "required": [ "capture_method", + "description", "metadata", "setup_future_usage", "statement_descriptor", @@ -29608,6 +29644,9 @@ "radar_options": { "$ref": "#/components/schemas/radar_radar_options" }, + "revolut_pay": { + "$ref": "#/components/schemas/payment_method_revolut_pay" + }, "sepa_debit": { "$ref": "#/components/schemas/payment_method_sepa_debit" }, @@ -29645,6 +29684,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -29708,6 +29748,7 @@ "pix", "promptpay", "radar_options", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -30995,6 +31036,9 @@ "promptpay": { "$ref": "#/components/schemas/payment_method_details_promptpay" }, + "revolut_pay": { + "$ref": "#/components/schemas/payment_method_details_revolut_pay" + }, "sepa_credit_transfer": { "$ref": "#/components/schemas/payment_method_details_sepa_credit_transfer" }, @@ -31062,6 +31106,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_credit_transfer", "sepa_debit", "sofort", @@ -33114,6 +33159,17 @@ "in_package": "" } }, + "payment_method_details_revolut_pay": { + "description": "", + "properties": {}, + "title": "payment_method_details_revolut_pay", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "RevolutPay", + "in_package": "" + } + }, "payment_method_details_sepa_credit_transfer": { "description": "", "properties": { @@ -34760,6 +34816,17 @@ "in_package": "" } }, + "payment_method_options_revolut_pay": { + "description": "", + "properties": {}, + "title": "payment_method_options_revolut_pay", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "RevolutPay", + "in_package": "" + } + }, "payment_method_options_sofort": { "description": "", "properties": { @@ -34976,6 +35043,17 @@ "in_package": "" } }, + "payment_method_revolut_pay": { + "description": "", + "properties": {}, + "title": "payment_method_revolut_pay", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "RevolutPay", + "in_package": "" + } + }, "payment_method_sepa_debit": { "description": "", "properties": { @@ -58178,6 +58256,17 @@ "title": "capability_param", "type": "object" }, + "revolut_pay_payments": { + "description": "The revolut_pay_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" + }, "sepa_debit_payments": { "description": "The sepa_debit_payments capability.", "properties": { @@ -59968,6 +60057,17 @@ "title": "capability_param", "type": "object" }, + "revolut_pay_payments": { + "description": "The revolut_pay_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" + }, "sepa_debit_payments": { "description": "The sepa_debit_payments capability.", "properties": { @@ -69624,6 +69724,21 @@ "title": "payment_method_options_param", "type": "object" }, + "revolut_pay": { + "description": "contains details about the RevolutPay payment method options.", + "properties": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "enum": [ + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, "sepa_debit": { "description": "contains details about the Sepa Debit payment method options.", "properties": { @@ -69778,6 +69893,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -75174,6 +75290,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -95340,6 +95457,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -95405,6 +95528,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -96752,6 +96876,32 @@ ], "description": "If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options." }, + "revolut_pay": { + "anyOf": [ + { + "properties": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "enum": [ + "", + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Demo Pay payment method options." + }, "sepa_debit": { "anyOf": [ { @@ -98010,6 +98160,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -98075,6 +98231,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -99422,6 +99579,32 @@ ], "description": "If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options." }, + "revolut_pay": { + "anyOf": [ + { + "properties": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "enum": [ + "", + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Demo Pay payment method options." + }, "sepa_debit": { "anyOf": [ { @@ -100823,6 +101006,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -100888,6 +101077,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -102235,6 +102425,32 @@ ], "description": "If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options." }, + "revolut_pay": { + "anyOf": [ + { + "properties": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "enum": [ + "", + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Demo Pay payment method options." + }, "sepa_debit": { "anyOf": [ { @@ -103561,6 +103777,11 @@ ], "type": "string" }, + "description": { + "description": "An arbitrary string attached to the object. Often useful for displaying to users.", + "maxLength": 1000, + "type": "string" + }, "metadata": { "additionalProperties": { "type": "string" @@ -104641,6 +104862,21 @@ "payment_intent_data": { "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.", "properties": { + "description": { + "anyOf": [ + { + "maxLength": 1000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "An arbitrary string attached to the object. Often useful for displaying to users." + }, "metadata": { "anyOf": [ { @@ -107817,6 +108053,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -108032,6 +108269,10 @@ "explode": true, "style": "deepObject" }, + "revolut_pay": { + "explode": true, + "style": "deepObject" + }, "sepa_debit": { "explode": true, "style": "deepObject" @@ -108618,6 +108859,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -108684,6 +108931,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -119159,6 +119407,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -119224,6 +119478,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -120353,6 +120608,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -120418,6 +120679,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -121574,6 +121836,12 @@ "title": "radar_options", "type": "object" }, + "revolut_pay": { + "description": "If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "sepa_debit": { "description": "If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.", "properties": { @@ -121639,6 +121907,7 @@ "paypal", "pix", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account",