From a058d1b31b2bf9381aa8fdac748ff3deafd24335 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:47:17 +0000 Subject: [PATCH] OpenAPI Update (#910) Update OpenAPI for b81fc7081984f549ef82a30b6e836ee505e8129f Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/fixtures3.json | 3 +- embedded/openapi/spec3.beta.sdk.json | 1 + embedded/openapi/spec3.json | 43 ++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index d9752def..8a6daf40 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -851,7 +851,8 @@ "name": "Jenny Rosen", "phone": null }, - "use_stripe_sdk": true + "use_stripe_sdk": true, + "payment_method_options": null }, "country_spec": { "default_currency": "usd", diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index c233245c..f33ac4c1 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -9804,6 +9804,7 @@ "livemode", "object", "payment_intent", + "payment_method_options", "payment_method_preview", "return_url", "setup_future_usage", diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index c3ffcccc..af5926e7 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -6856,6 +6856,15 @@ "nullable": true, "type": "string" }, + "payment_method_options": { + "anyOf": [ + { + "$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options" + } + ], + "description": "Payment-method-specific configuration for this ConfirmationToken.", + "nullable": true + }, "payment_method_preview": { "anyOf": [ { @@ -6911,6 +6920,7 @@ "type": "object", "x-expandableFields": [ "mandate_data", + "payment_method_options", "payment_method_preview", "shipping" ], @@ -6979,6 +6989,39 @@ "type": "object", "x-expandableFields": [] }, + "confirmation_tokens_resource_payment_method_options": { + "description": "Payment-method-specific configuration", + "properties": { + "card": { + "anyOf": [ + { + "$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options_resource_card" + } + ], + "description": "This hash contains the card payment method options.", + "nullable": true + } + }, + "title": "ConfirmationTokensResourcePaymentMethodOptions", + "type": "object", + "x-expandableFields": [ + "card" + ] + }, + "confirmation_tokens_resource_payment_method_options_resource_card": { + "description": "This hash contains the card payment method options.", + "properties": { + "cvc_token": { + "description": "The `cvc_update` Token collected from the Payment Element.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "title": "ConfirmationTokensResourcePaymentMethodOptionsResourceCard", + "type": "object", + "x-expandableFields": [] + }, "confirmation_tokens_resource_payment_method_preview": { "description": "Details of the PaymentMethod collected by Payment Element", "properties": {