From 57708544103aed75a4c2e53bad2e64161239a15e Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 18:35:14 +0000 Subject: [PATCH] OpenAPI Update (#718) Update OpenAPI for 274fc4feea88bf653ce6ff16665ee47b05b43a9c Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.beta.sdk.json | 29 +++++++--------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 00dbf5bc..5df0cf92 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -9286,7 +9286,13 @@ "type": "boolean" }, "mandate_data": { - "$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data" + "anyOf": [ + { + "$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data" + } + ], + "description": "Data used for generating a Mandate.", + "nullable": true }, "object": { "description": "String representing the object's type. Objects of the same type share the same value.", @@ -9301,26 +9307,6 @@ "nullable": true, "type": "string" }, - "payment_method": { - "anyOf": [ - { - "maxLength": 5000, - "type": "string" - }, - { - "$ref": "#/components/schemas/payment_method" - } - ], - "description": "ID of an existing PaymentMethod.", - "nullable": true, - "x-expansionResources": { - "oneOf": [ - { - "$ref": "#/components/schemas/payment_method" - } - ] - } - }, "payment_method_options": { "anyOf": [ { @@ -9392,7 +9378,6 @@ "type": "object", "x-expandableFields": [ "mandate_data", - "payment_method", "payment_method_options", "payment_method_preview", "shipping"