From aadf423ed23c2ff1d153bed0687fbc56955cdab4 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 22:13:02 +0000 Subject: [PATCH] OpenAPI Update (#824) Update OpenAPI for 9e660f28bb0c4eeaa41552a8996211b606cbbfe5 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.beta.sdk.json | 82 +++++++++++++++++++++++++++- embedded/openapi/spec3.json | 67 ++++++++++++++++++++++- 2 files changed, 146 insertions(+), 3 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index f9802ba7..6536cecd 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -37249,6 +37249,9 @@ "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).", "type": "boolean" }, + "routing": { + "$ref": "#/components/schemas/payment_method_options_card_present_routing" + }, "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": [ @@ -37272,7 +37275,8 @@ "title": "PaymentIntentTypeSpecificPaymentMethodOptionsClient", "type": "object", "x-expandableFields": [ - "installments" + "installments", + "routing" ] }, "payment_link": { @@ -43566,6 +43570,9 @@ "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.", "nullable": true, "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/payment_method_options_card_present_routing" } }, "required": [ @@ -43574,7 +43581,33 @@ ], "title": "payment_method_options_card_present", "type": "object", - "x-expandableFields": [] + "x-expandableFields": [ + "routing" + ] + }, + "payment_method_options_card_present_routing": { + "description": "", + "properties": { + "requested_priority": { + "description": "Requested routing priority", + "enum": [ + "domestic", + "international" + ], + "nullable": true, + "type": "string" + } + }, + "required": [ + "requested_priority" + ], + "title": "payment_method_options_card_present_routing", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "Routing", + "in_package": "" + } }, "payment_method_options_cashapp": { "description": "", @@ -137546,6 +137579,21 @@ "request_incremental_authorization_support": { "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.", "type": "boolean" + }, + "routing": { + "description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.", + "properties": { + "requested_priority": { + "description": "Routing requested priority", + "enum": [ + "domestic", + "international" + ], + "type": "string" + } + }, + "title": "routing_payment_method_options_param", + "type": "object" } }, "title": "payment_method_options_param", @@ -141725,6 +141773,21 @@ "request_incremental_authorization_support": { "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.", "type": "boolean" + }, + "routing": { + "description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.", + "properties": { + "requested_priority": { + "description": "Routing requested priority", + "enum": [ + "domestic", + "international" + ], + "type": "string" + } + }, + "title": "routing_payment_method_options_param", + "type": "object" } }, "title": "payment_method_options_param", @@ -146844,6 +146907,21 @@ "request_incremental_authorization_support": { "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.", "type": "boolean" + }, + "routing": { + "description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.", + "properties": { + "requested_priority": { + "description": "Routing requested priority", + "enum": [ + "domestic", + "international" + ], + "type": "string" + } + }, + "title": "routing_payment_method_options_param", + "type": "object" } }, "title": "payment_method_options_param", diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 24672b9a..8fd56d23 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -25841,6 +25841,9 @@ "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).", "type": "boolean" }, + "routing": { + "$ref": "#/components/schemas/payment_method_options_card_present_routing" + }, "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": [ @@ -25864,7 +25867,8 @@ "title": "PaymentIntentTypeSpecificPaymentMethodOptionsClient", "type": "object", "x-expandableFields": [ - "installments" + "installments", + "routing" ] }, "payment_link": { @@ -31249,10 +31253,32 @@ "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.", "nullable": true, "type": "boolean" + }, + "routing": { + "$ref": "#/components/schemas/payment_method_options_card_present_routing" } }, "title": "payment_method_options_card_present", "type": "object", + "x-expandableFields": [ + "routing" + ] + }, + "payment_method_options_card_present_routing": { + "description": "", + "properties": { + "requested_priority": { + "description": "Requested routing priority", + "enum": [ + "domestic", + "international" + ], + "nullable": true, + "type": "string" + } + }, + "title": "payment_method_options_card_present_routing", + "type": "object", "x-expandableFields": [] }, "payment_method_options_cashapp": { @@ -104717,6 +104743,19 @@ }, "request_incremental_authorization_support": { "type": "boolean" + }, + "routing": { + "properties": { + "requested_priority": { + "enum": [ + "domestic", + "international" + ], + "type": "string" + } + }, + "title": "routing_payment_method_options_param", + "type": "object" } }, "title": "payment_method_options_param", @@ -107431,6 +107470,19 @@ }, "request_incremental_authorization_support": { "type": "boolean" + }, + "routing": { + "properties": { + "requested_priority": { + "enum": [ + "domestic", + "international" + ], + "type": "string" + } + }, + "title": "routing_payment_method_options_param", + "type": "object" } }, "title": "payment_method_options_param", @@ -110289,6 +110341,19 @@ }, "request_incremental_authorization_support": { "type": "boolean" + }, + "routing": { + "properties": { + "requested_priority": { + "enum": [ + "domestic", + "international" + ], + "type": "string" + } + }, + "title": "routing_payment_method_options_param", + "type": "object" } }, "title": "payment_method_options_param",