From ab03092b5fb93129bae40778de31c7dba32e61c4 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 08:18:17 +0000 Subject: [PATCH] Update OpenAPI for 9e596c4776b48b8f492b29e2f51f4a4168be1951 --- embedded/openapi/spec3.beta.sdk.json | 143 +++++++++++++++++++++++---- embedded/openapi/spec3.json | 133 +++++++++++++++++++++---- 2 files changed, 234 insertions(+), 42 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index f023dceb..3ba0971a 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -38032,7 +38032,7 @@ "$ref": "#/components/schemas/payment_intent_payment_method_options_au_becs_debit" }, "bacs_debit": { - "$ref": "#/components/schemas/payment_method_options_bacs_debit" + "$ref": "#/components/schemas/payment_intent_payment_method_options_bacs_debit" }, "bancontact": { "$ref": "#/components/schemas/payment_method_options_bancontact" @@ -38232,6 +38232,28 @@ "type": "object", "x-expandableFields": [] }, + "payment_intent_payment_method_options_bacs_debit": { + "description": "", + "properties": { + "mandate_options": { + "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_bacs_debit" + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", + "enum": [ + "none", + "off_session", + "on_session" + ], + "type": "string" + } + }, + "title": "payment_intent_payment_method_options_bacs_debit", + "type": "object", + "x-expandableFields": [ + "mandate_options" + ] + }, "payment_intent_payment_method_options_blik": { "description": "", "properties": { @@ -38477,6 +38499,17 @@ "type": "object", "x-expandableFields": [] }, + "payment_intent_payment_method_options_mandate_options_bacs_debit": { + "description": "", + "properties": {}, + "title": "payment_intent_payment_method_options_mandate_options_bacs_debit", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "BacsDebitMandateOptions", + "in_package": "" + } + }, "payment_intent_payment_method_options_mandate_options_payto": { "description": "", "properties": { @@ -45035,23 +45068,6 @@ "type": "object", "x-expandableFields": [] }, - "payment_method_options_bacs_debit": { - "description": "", - "properties": { - "setup_future_usage": { - "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", - "enum": [ - "none", - "off_session", - "on_session" - ], - "type": "string" - } - }, - "title": "payment_method_options_bacs_debit", - "type": "object", - "x-expandableFields": [] - }, "payment_method_options_bancontact": { "description": "", "properties": { @@ -58051,6 +58067,9 @@ "amazon_pay": { "$ref": "#/components/schemas/setup_intent_payment_method_options_amazon_pay" }, + "bacs_debit": { + "$ref": "#/components/schemas/setup_intent_payment_method_options_bacs_debit" + }, "card": { "$ref": "#/components/schemas/setup_intent_payment_method_options_card" }, @@ -58078,6 +58097,7 @@ "x-expandableFields": [ "acss_debit", "amazon_pay", + "bacs_debit", "card", "card_present", "link", @@ -58129,6 +58149,19 @@ "type": "object", "x-expandableFields": [] }, + "setup_intent_payment_method_options_bacs_debit": { + "description": "", + "properties": { + "mandate_options": { + "$ref": "#/components/schemas/setup_intent_payment_method_options_mandate_options_bacs_debit" + } + }, + "title": "setup_intent_payment_method_options_bacs_debit", + "type": "object", + "x-expandableFields": [ + "mandate_options" + ] + }, "setup_intent_payment_method_options_card": { "description": "", "properties": { @@ -58350,6 +58383,17 @@ "type": "object", "x-expandableFields": [] }, + "setup_intent_payment_method_options_mandate_options_bacs_debit": { + "description": "", + "properties": {}, + "title": "setup_intent_payment_method_options_mandate_options_bacs_debit", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "BacsDebitMandateOptions", + "in_package": "" + } + }, "setup_intent_payment_method_options_mandate_options_payto": { "description": "", "properties": { @@ -140448,6 +140492,12 @@ "anyOf": [ { "properties": { + "mandate_options": { + "description": "Additional fields for Mandate creation", + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + }, "setup_future_usage": { "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.", "enum": [ @@ -140459,7 +140509,7 @@ "type": "string" } }, - "title": "payment_method_options_param", + "title": "payment_intent_payment_method_options_param", "type": "object" }, { @@ -144728,6 +144778,12 @@ "anyOf": [ { "properties": { + "mandate_options": { + "description": "Additional fields for Mandate creation", + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + }, "setup_future_usage": { "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.", "enum": [ @@ -144739,7 +144795,7 @@ "type": "string" } }, - "title": "payment_method_options_param", + "title": "payment_intent_payment_method_options_param", "type": "object" }, { @@ -149992,6 +150048,12 @@ "anyOf": [ { "properties": { + "mandate_options": { + "description": "Additional fields for Mandate creation", + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + }, "setup_future_usage": { "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.", "enum": [ @@ -150003,7 +150065,7 @@ "type": "string" } }, - "title": "payment_method_options_param", + "title": "payment_intent_payment_method_options_param", "type": "object" }, { @@ -175217,6 +175279,19 @@ "title": "setup_intent_payment_method_options_param", "type": "object" }, + "bacs_debit": { + "description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.", + "properties": { + "mandate_options": { + "description": "Additional fields for Mandate creation", + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + } + }, + "title": "setup_intent_payment_method_options_param", + "type": "object" + }, "card": { "description": "Configuration for any card setup attempted on this SetupIntent.", "properties": { @@ -176772,6 +176847,19 @@ "title": "setup_intent_payment_method_options_param", "type": "object" }, + "bacs_debit": { + "description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.", + "properties": { + "mandate_options": { + "description": "Additional fields for Mandate creation", + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + } + }, + "title": "setup_intent_payment_method_options_param", + "type": "object" + }, "card": { "description": "Configuration for any card setup attempted on this SetupIntent.", "properties": { @@ -178359,6 +178447,19 @@ "title": "setup_intent_payment_method_options_param", "type": "object" }, + "bacs_debit": { + "description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.", + "properties": { + "mandate_options": { + "description": "Additional fields for Mandate creation", + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + } + }, + "title": "setup_intent_payment_method_options_param", + "type": "object" + }, "card": { "description": "Configuration for any card setup attempted on this SetupIntent.", "properties": { diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 2e195374..5db02385 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -26026,7 +26026,7 @@ "bacs_debit": { "anyOf": [ { - "$ref": "#/components/schemas/payment_method_options_bacs_debit" + "$ref": "#/components/schemas/payment_intent_payment_method_options_bacs_debit" }, { "$ref": "#/components/schemas/payment_intent_type_specific_payment_method_options_client" @@ -26447,6 +26447,28 @@ "type": "object", "x-expandableFields": [] }, + "payment_intent_payment_method_options_bacs_debit": { + "description": "", + "properties": { + "mandate_options": { + "$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_bacs_debit" + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", + "enum": [ + "none", + "off_session", + "on_session" + ], + "type": "string" + } + }, + "title": "payment_intent_payment_method_options_bacs_debit", + "type": "object", + "x-expandableFields": [ + "mandate_options" + ] + }, "payment_intent_payment_method_options_blik": { "description": "", "properties": { @@ -26660,6 +26682,13 @@ "type": "object", "x-expandableFields": [] }, + "payment_intent_payment_method_options_mandate_options_bacs_debit": { + "description": "", + "properties": {}, + "title": "payment_intent_payment_method_options_mandate_options_bacs_debit", + "type": "object", + "x-expandableFields": [] + }, "payment_intent_payment_method_options_mandate_options_sepa_debit": { "description": "", "properties": {}, @@ -32204,23 +32233,6 @@ "type": "object", "x-expandableFields": [] }, - "payment_method_options_bacs_debit": { - "description": "", - "properties": { - "setup_future_usage": { - "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", - "enum": [ - "none", - "off_session", - "on_session" - ], - "type": "string" - } - }, - "title": "payment_method_options_bacs_debit", - "type": "object", - "x-expandableFields": [] - }, "payment_method_options_bancontact": { "description": "", "properties": { @@ -40128,6 +40140,16 @@ } ] }, + "bacs_debit": { + "anyOf": [ + { + "$ref": "#/components/schemas/setup_intent_payment_method_options_bacs_debit" + }, + { + "$ref": "#/components/schemas/setup_intent_type_specific_payment_method_options_client" + } + ] + }, "card": { "anyOf": [ { @@ -40194,6 +40216,7 @@ "x-expandableFields": [ "acss_debit", "amazon_pay", + "bacs_debit", "card", "card_present", "link", @@ -40241,6 +40264,19 @@ "type": "object", "x-expandableFields": [] }, + "setup_intent_payment_method_options_bacs_debit": { + "description": "", + "properties": { + "mandate_options": { + "$ref": "#/components/schemas/setup_intent_payment_method_options_mandate_options_bacs_debit" + } + }, + "title": "setup_intent_payment_method_options_bacs_debit", + "type": "object", + "x-expandableFields": [ + "mandate_options" + ] + }, "setup_intent_payment_method_options_card": { "description": "", "properties": { @@ -40434,6 +40470,13 @@ "type": "object", "x-expandableFields": [] }, + "setup_intent_payment_method_options_mandate_options_bacs_debit": { + "description": "", + "properties": {}, + "title": "setup_intent_payment_method_options_mandate_options_bacs_debit", + "type": "object", + "x-expandableFields": [] + }, "setup_intent_payment_method_options_mandate_options_sepa_debit": { "description": "", "properties": {}, @@ -107659,6 +107702,11 @@ "anyOf": [ { "properties": { + "mandate_options": { + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + }, "setup_future_usage": { "enum": [ "", @@ -107669,7 +107717,7 @@ "type": "string" } }, - "title": "payment_method_options_param", + "title": "payment_intent_payment_method_options_param", "type": "object" }, { @@ -110461,6 +110509,11 @@ "anyOf": [ { "properties": { + "mandate_options": { + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + }, "setup_future_usage": { "enum": [ "", @@ -110471,7 +110524,7 @@ "type": "string" } }, - "title": "payment_method_options_param", + "title": "payment_intent_payment_method_options_param", "type": "object" }, { @@ -113407,6 +113460,11 @@ "anyOf": [ { "properties": { + "mandate_options": { + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + }, "setup_future_usage": { "enum": [ "", @@ -113417,7 +113475,7 @@ "type": "string" } }, - "title": "payment_method_options_param", + "title": "payment_intent_payment_method_options_param", "type": "object" }, { @@ -132717,6 +132775,17 @@ "title": "setup_intent_payment_method_options_param", "type": "object" }, + "bacs_debit": { + "properties": { + "mandate_options": { + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + } + }, + "title": "setup_intent_payment_method_options_param", + "type": "object" + }, "card": { "properties": { "mandate_options": { @@ -133958,6 +134027,17 @@ "title": "setup_intent_payment_method_options_param", "type": "object" }, + "bacs_debit": { + "properties": { + "mandate_options": { + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + } + }, + "title": "setup_intent_payment_method_options_param", + "type": "object" + }, "card": { "properties": { "mandate_options": { @@ -135223,6 +135303,17 @@ "title": "setup_intent_payment_method_options_param", "type": "object" }, + "bacs_debit": { + "properties": { + "mandate_options": { + "properties": {}, + "title": "payment_method_options_mandate_options_param", + "type": "object" + } + }, + "title": "setup_intent_payment_method_options_param", + "type": "object" + }, "card": { "properties": { "mandate_options": {