From 04ef717f7ddb0b20d0f3eb9ac6566f7ec68e52dc Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 14:42:53 +0000 Subject: [PATCH] Update OpenAPI for 23ed98629e80840a2ccbf2e7e4f36fc24e239205 --- embedded/openapi/spec3.beta.sdk.json | 36 ++++++++++++++++++++++++++++ embedded/openapi/spec3.json | 30 +++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 17821209..08a3c2f7 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -45033,6 +45033,12 @@ "payment_pages_checkout_session_custom_fields_dropdown": { "description": "", "properties": { + "default_value": { + "description": "The value that will pre-fill on the payment page.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "options": { "description": "The options available for the customer to select. Up to 200 options allowed.", "items": { @@ -45048,6 +45054,7 @@ } }, "required": [ + "default_value", "options", "value" ], @@ -45089,6 +45096,12 @@ "payment_pages_checkout_session_custom_fields_numeric": { "description": "", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "maximum_length": { "description": "The maximum character length constraint for the customer's input.", "nullable": true, @@ -45107,6 +45120,7 @@ } }, "required": [ + "default_value", "maximum_length", "minimum_length", "value" @@ -45148,6 +45162,12 @@ "payment_pages_checkout_session_custom_fields_text": { "description": "", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "maximum_length": { "description": "The maximum character length constraint for the customer's input.", "nullable": true, @@ -45166,6 +45186,7 @@ } }, "required": [ + "default_value", "maximum_length", "minimum_length", "value" @@ -87787,6 +87808,11 @@ "dropdown": { "description": "Configuration for `type=dropdown` fields.", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.", + "maxLength": 100, + "type": "string" + }, "options": { "description": "The options available for the customer to select. Up to 200 options allowed.", "items": { @@ -87849,6 +87875,11 @@ "numeric": { "description": "Configuration for `type=numeric` fields.", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.", + "maxLength": 255, + "type": "string" + }, "maximum_length": { "description": "The maximum character length constraint for the customer's input.", "type": "integer" @@ -87868,6 +87899,11 @@ "text": { "description": "Configuration for `type=text` fields.", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.", + "maxLength": 255, + "type": "string" + }, "maximum_length": { "description": "The maximum character length constraint for the customer's input.", "type": "integer" diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index fa41742d..5cceec09 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -32327,6 +32327,12 @@ "payment_pages_checkout_session_custom_fields_dropdown": { "description": "", "properties": { + "default_value": { + "description": "The value that will pre-fill on the payment page.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "options": { "description": "The options available for the customer to select. Up to 200 options allowed.", "items": { @@ -32377,6 +32383,12 @@ "payment_pages_checkout_session_custom_fields_numeric": { "description": "", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "maximum_length": { "description": "The maximum character length constraint for the customer's input.", "nullable": true, @@ -32423,6 +32435,12 @@ "payment_pages_checkout_session_custom_fields_text": { "description": "", "properties": { + "default_value": { + "description": "The value that will pre-fill the field on the payment page.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, "maximum_length": { "description": "The maximum character length constraint for the customer's input.", "nullable": true, @@ -64786,6 +64804,10 @@ "properties": { "dropdown": { "properties": { + "default_value": { + "maxLength": 100, + "type": "string" + }, "options": { "items": { "properties": { @@ -64840,6 +64862,10 @@ }, "numeric": { "properties": { + "default_value": { + "maxLength": 255, + "type": "string" + }, "maximum_length": { "type": "integer" }, @@ -64855,6 +64881,10 @@ }, "text": { "properties": { + "default_value": { + "maxLength": 255, + "type": "string" + }, "maximum_length": { "type": "integer" },