Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 28, 2024
1 parent 5ac97c4 commit 23ed986
Show file tree
Hide file tree
Showing 6 changed files with 200 additions and 0 deletions.
36 changes: 36 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -45048,6 +45054,7 @@
}
},
"required": [
"default_value",
"options",
"value"
],
Expand Down Expand Up @@ -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,
Expand All @@ -45107,6 +45120,7 @@
}
},
"required": [
"default_value",
"maximum_length",
"minimum_length",
"value"
Expand Down Expand Up @@ -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,
Expand All @@ -45166,6 +45186,7 @@
}
},
"required": [
"default_value",
"maximum_length",
"minimum_length",
"value"
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down
37 changes: 37 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41471,6 +41471,11 @@ components:
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
Expand All @@ -41487,6 +41492,7 @@ components:
nullable: true
type: string
required:
- default_value
- options
- value
title: PaymentPagesCheckoutSessionCustomFieldsDropdown
Expand Down Expand Up @@ -41520,6 +41526,11 @@ components:
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
Expand All @@ -41534,6 +41545,7 @@ components:
nullable: true
type: string
required:
- default_value
- maximum_length
- minimum_length
- value
Expand Down Expand Up @@ -41572,6 +41584,11 @@ components:
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
Expand All @@ -41586,6 +41603,7 @@ components:
nullable: true
type: string
required:
- default_value
- maximum_length
- minimum_length
- value
Expand Down Expand Up @@ -79618,6 +79636,13 @@ paths:
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.
Expand Down Expand Up @@ -79678,6 +79703,12 @@ paths:
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
Expand All @@ -79699,6 +79730,12 @@ paths:
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
Expand Down
30 changes: 30 additions & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -64786,6 +64804,10 @@
"properties": {
"dropdown": {
"properties": {
"default_value": {
"maxLength": 100,
"type": "string"
},
"options": {
"items": {
"properties": {
Expand Down Expand Up @@ -64840,6 +64862,10 @@
},
"numeric": {
"properties": {
"default_value": {
"maxLength": 255,
"type": "string"
},
"maximum_length": {
"type": "integer"
},
Expand All @@ -64855,6 +64881,10 @@
},
"text": {
"properties": {
"default_value": {
"maxLength": 255,
"type": "string"
},
"maximum_length": {
"type": "integer"
},
Expand Down
36 changes: 36 additions & 0 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -39114,6 +39114,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": {
Expand All @@ -39129,6 +39135,7 @@
}
},
"required": [
"default_value",
"options",
"value"
],
Expand Down Expand Up @@ -39170,6 +39177,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,
Expand All @@ -39188,6 +39201,7 @@
}
},
"required": [
"default_value",
"maximum_length",
"minimum_length",
"value"
Expand Down Expand Up @@ -39229,6 +39243,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,
Expand All @@ -39247,6 +39267,7 @@
}
},
"required": [
"default_value",
"maximum_length",
"minimum_length",
"value"
Expand Down Expand Up @@ -73916,6 +73937,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": {
Expand Down Expand Up @@ -73978,6 +74004,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"
Expand All @@ -73997,6 +74028,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"
Expand Down
Loading

0 comments on commit 23ed986

Please sign in to comment.