Skip to content

Commit 82400de

Browse files
OpenAPI Update (#836)
Update OpenAPI for 23ed98629e80840a2ccbf2e7e4f36fc24e239205 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 34a4f34 commit 82400de

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45033,6 +45033,12 @@
4503345033
"payment_pages_checkout_session_custom_fields_dropdown": {
4503445034
"description": "",
4503545035
"properties": {
45036+
"default_value": {
45037+
"description": "The value that will pre-fill on the payment page.",
45038+
"maxLength": 5000,
45039+
"nullable": true,
45040+
"type": "string"
45041+
},
4503645042
"options": {
4503745043
"description": "The options available for the customer to select. Up to 200 options allowed.",
4503845044
"items": {
@@ -45048,6 +45054,7 @@
4504845054
}
4504945055
},
4505045056
"required": [
45057+
"default_value",
4505145058
"options",
4505245059
"value"
4505345060
],
@@ -45089,6 +45096,12 @@
4508945096
"payment_pages_checkout_session_custom_fields_numeric": {
4509045097
"description": "",
4509145098
"properties": {
45099+
"default_value": {
45100+
"description": "The value that will pre-fill the field on the payment page.",
45101+
"maxLength": 5000,
45102+
"nullable": true,
45103+
"type": "string"
45104+
},
4509245105
"maximum_length": {
4509345106
"description": "The maximum character length constraint for the customer's input.",
4509445107
"nullable": true,
@@ -45107,6 +45120,7 @@
4510745120
}
4510845121
},
4510945122
"required": [
45123+
"default_value",
4511045124
"maximum_length",
4511145125
"minimum_length",
4511245126
"value"
@@ -45148,6 +45162,12 @@
4514845162
"payment_pages_checkout_session_custom_fields_text": {
4514945163
"description": "",
4515045164
"properties": {
45165+
"default_value": {
45166+
"description": "The value that will pre-fill the field on the payment page.",
45167+
"maxLength": 5000,
45168+
"nullable": true,
45169+
"type": "string"
45170+
},
4515145171
"maximum_length": {
4515245172
"description": "The maximum character length constraint for the customer's input.",
4515345173
"nullable": true,
@@ -45166,6 +45186,7 @@
4516645186
}
4516745187
},
4516845188
"required": [
45189+
"default_value",
4516945190
"maximum_length",
4517045191
"minimum_length",
4517145192
"value"
@@ -87787,6 +87808,11 @@
8778787808
"dropdown": {
8778887809
"description": "Configuration for `type=dropdown` fields.",
8778987810
"properties": {
87811+
"default_value": {
87812+
"description": "The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.",
87813+
"maxLength": 100,
87814+
"type": "string"
87815+
},
8779087816
"options": {
8779187817
"description": "The options available for the customer to select. Up to 200 options allowed.",
8779287818
"items": {
@@ -87849,6 +87875,11 @@
8784987875
"numeric": {
8785087876
"description": "Configuration for `type=numeric` fields.",
8785187877
"properties": {
87878+
"default_value": {
87879+
"description": "The value that will pre-fill the field on the payment page.",
87880+
"maxLength": 255,
87881+
"type": "string"
87882+
},
8785287883
"maximum_length": {
8785387884
"description": "The maximum character length constraint for the customer's input.",
8785487885
"type": "integer"
@@ -87868,6 +87899,11 @@
8786887899
"text": {
8786987900
"description": "Configuration for `type=text` fields.",
8787087901
"properties": {
87902+
"default_value": {
87903+
"description": "The value that will pre-fill the field on the payment page.",
87904+
"maxLength": 255,
87905+
"type": "string"
87906+
},
8787187907
"maximum_length": {
8787287908
"description": "The maximum character length constraint for the customer's input.",
8787387909
"type": "integer"

embedded/openapi/spec3.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32327,6 +32327,12 @@
3232732327
"payment_pages_checkout_session_custom_fields_dropdown": {
3232832328
"description": "",
3232932329
"properties": {
32330+
"default_value": {
32331+
"description": "The value that will pre-fill on the payment page.",
32332+
"maxLength": 5000,
32333+
"nullable": true,
32334+
"type": "string"
32335+
},
3233032336
"options": {
3233132337
"description": "The options available for the customer to select. Up to 200 options allowed.",
3233232338
"items": {
@@ -32377,6 +32383,12 @@
3237732383
"payment_pages_checkout_session_custom_fields_numeric": {
3237832384
"description": "",
3237932385
"properties": {
32386+
"default_value": {
32387+
"description": "The value that will pre-fill the field on the payment page.",
32388+
"maxLength": 5000,
32389+
"nullable": true,
32390+
"type": "string"
32391+
},
3238032392
"maximum_length": {
3238132393
"description": "The maximum character length constraint for the customer's input.",
3238232394
"nullable": true,
@@ -32423,6 +32435,12 @@
3242332435
"payment_pages_checkout_session_custom_fields_text": {
3242432436
"description": "",
3242532437
"properties": {
32438+
"default_value": {
32439+
"description": "The value that will pre-fill the field on the payment page.",
32440+
"maxLength": 5000,
32441+
"nullable": true,
32442+
"type": "string"
32443+
},
3242632444
"maximum_length": {
3242732445
"description": "The maximum character length constraint for the customer's input.",
3242832446
"nullable": true,
@@ -64786,6 +64804,10 @@
6478664804
"properties": {
6478764805
"dropdown": {
6478864806
"properties": {
64807+
"default_value": {
64808+
"maxLength": 100,
64809+
"type": "string"
64810+
},
6478964811
"options": {
6479064812
"items": {
6479164813
"properties": {
@@ -64840,6 +64862,10 @@
6484064862
},
6484164863
"numeric": {
6484264864
"properties": {
64865+
"default_value": {
64866+
"maxLength": 255,
64867+
"type": "string"
64868+
},
6484364869
"maximum_length": {
6484464870
"type": "integer"
6484564871
},
@@ -64855,6 +64881,10 @@
6485564881
},
6485664882
"text": {
6485764883
"properties": {
64884+
"default_value": {
64885+
"maxLength": 255,
64886+
"type": "string"
64887+
},
6485864888
"maximum_length": {
6485964889
"type": "integer"
6486064890
},

0 commit comments

Comments
 (0)