From 90f33a8a168860499e94b123c1f8689928b7e078 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 22:59:23 +0000 Subject: [PATCH] OpenAPI Update (#627) Update OpenAPI for 89f85ffd702ae066b77b1f5c1b64d5bd84c76535 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.beta.sdk.json | 32 +++++++++++++++++++++++++++- embedded/openapi/spec3.json | 30 +++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 80b2b517..b794903c 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -67391,6 +67391,10 @@ "content": { "application/x-www-form-urlencoded": { "encoding": { + "collection_options": { + "explode": true, + "style": "deepObject" + }, "expand": { "explode": true, "style": "deepObject" @@ -67405,13 +67409,39 @@ "type": "string" }, "collect": { - "description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.", + "description": "The collect parameter is deprecated. Use `collection_options` instead.", "enum": [ "currently_due", "eventually_due" ], "type": "string" }, + "collection_options": { + "description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.", + "properties": { + "fields": { + "description": "Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.", + "enum": [ + "currently_due", + "eventually_due" + ], + "type": "string" + }, + "future_requirements": { + "description": "Options for collecting future_requirements in Connect Onboarding", + "enum": [ + "include", + "omit" + ], + "type": "string" + } + }, + "required": [ + "fields" + ], + "title": "collection_options_params", + "type": "object" + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "items": { diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index ef86282a..d08c0573 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -46133,6 +46133,10 @@ "content": { "application/x-www-form-urlencoded": { "encoding": { + "collection_options": { + "explode": true, + "style": "deepObject" + }, "expand": { "explode": true, "style": "deepObject" @@ -46147,13 +46151,37 @@ "type": "string" }, "collect": { - "description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.", + "description": "The collect parameter is deprecated. Use `collection_options` instead.", "enum": [ "currently_due", "eventually_due" ], "type": "string" }, + "collection_options": { + "description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.", + "properties": { + "fields": { + "enum": [ + "currently_due", + "eventually_due" + ], + "type": "string" + }, + "future_requirements": { + "enum": [ + "include", + "omit" + ], + "type": "string" + } + }, + "required": [ + "fields" + ], + "title": "collection_options_params", + "type": "object" + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "items": {