From ff592e24023ba46eb0cffb3229478be4eddd023c Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:48:57 +0000 Subject: [PATCH] Update OpenAPI for 336f97a91d8bc3278e6eae5f678df8a99a8a8229 --- embedded/openapi/spec3.beta.sdk.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 89222f29..a28b3414 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -13600,6 +13600,15 @@ "type": "string", "x-stripeBypassValidation": true }, + "payment_method_save_usage": { + "description": "When using PaymentIntents and the customer checks the save checkbox, this field determines the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value used to confirm the PaymentIntent.\n\nWhen using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.", + "enum": [ + "off_session", + "on_session" + ], + "nullable": true, + "type": "string" + }, "payment_method_update": { "description": "Controls whether the Payment Element displays the option to update a saved payment method. This parameter defaults to `disabled`.", "enum": [ @@ -13613,6 +13622,7 @@ "required": [ "payment_method_remove", "payment_method_save", + "payment_method_save_usage", "payment_method_update" ], "title": "CustomerSessionResourceComponentsResourcePaymentElementResourceFeatures", @@ -94687,6 +94697,14 @@ "type": "string", "x-stripeBypassValidation": true }, + "payment_method_save_usage": { + "description": "When using PaymentIntents and the customer checks the save checkbox, this field determines the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value used to confirm the PaymentIntent.\n\nWhen using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.", + "enum": [ + "off_session", + "on_session" + ], + "type": "string" + }, "payment_method_update": { "description": "Controls whether the Payment Element displays the option to update a saved payment method. This parameter defaults to `disabled`.", "enum": [