Skip to content

Commit ce85758

Browse files
OpenAPI Update (#637)
Update OpenAPI for 2ef780b2e977eb6eb2242eb99972fba7b8e97de3 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent ec289e8 commit ce85758

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8024,6 +8024,9 @@
80248024
"sofort": {
80258025
"$ref": "#/components/schemas/checkout_sofort_payment_method_options"
80268026
},
8027+
"swish": {
8028+
"$ref": "#/components/schemas/checkout_swish_payment_method_options"
8029+
},
80278030
"us_bank_account": {
80288031
"$ref": "#/components/schemas/checkout_us_bank_account_payment_method_options"
80298032
}
@@ -8058,6 +8061,7 @@
80588061
"revolut_pay",
80598062
"sepa_debit",
80608063
"sofort",
8064+
"swish",
80618065
"us_bank_account"
80628066
]
80638067
},
@@ -8076,6 +8080,23 @@
80768080
"type": "object",
80778081
"x-expandableFields": []
80788082
},
8083+
"checkout_swish_payment_method_options": {
8084+
"description": "",
8085+
"properties": {
8086+
"reference": {
8087+
"description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.",
8088+
"maxLength": 5000,
8089+
"nullable": true,
8090+
"type": "string"
8091+
}
8092+
},
8093+
"required": [
8094+
"reference"
8095+
],
8096+
"title": "CheckoutSwishPaymentMethodOptions",
8097+
"type": "object",
8098+
"x-expandableFields": []
8099+
},
80798100
"checkout_us_bank_account_payment_method_options": {
80808101
"description": "",
80818102
"properties": {
@@ -34863,6 +34884,7 @@
3486334884
"promptpay",
3486434885
"sepa_debit",
3486534886
"sofort",
34887+
"swish",
3486634888
"us_bank_account",
3486734889
"wechat_pay"
3486834890
],
@@ -83604,6 +83626,28 @@
8360483626
"title": "payment_method_options_param",
8360583627
"type": "object"
8360683628
},
83629+
"swish": {
83630+
"description": "contains details about the Swish payment method options.",
83631+
"properties": {
83632+
"reference": {
83633+
"anyOf": [
83634+
{
83635+
"maxLength": 5000,
83636+
"type": "string"
83637+
},
83638+
{
83639+
"enum": [
83640+
""
83641+
],
83642+
"type": "string"
83643+
}
83644+
],
83645+
"description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent."
83646+
}
83647+
},
83648+
"title": "payment_method_options_param",
83649+
"type": "object"
83650+
},
8360783651
"us_bank_account": {
8360883652
"description": "contains details about the Us Bank Account payment method options.",
8360983653
"properties": {
@@ -83733,6 +83777,7 @@
8373383777
"revolut_pay",
8373483778
"sepa_debit",
8373583779
"sofort",
83780+
"swish",
8373683781
"us_bank_account",
8373783782
"wechat_pay",
8373883783
"zip"
@@ -140465,6 +140510,7 @@
140465140510
"promptpay",
140466140511
"sepa_debit",
140467140512
"sofort",
140513+
"swish",
140468140514
"us_bank_account",
140469140515
"wechat_pay"
140470140516
],
@@ -141772,6 +141818,7 @@
141772141818
"promptpay",
141773141819
"sepa_debit",
141774141820
"sofort",
141821+
"swish",
141775141822
"us_bank_account",
141776141823
"wechat_pay"
141777141824
],

embedded/openapi/spec3.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5546,6 +5546,9 @@
55465546
"sofort": {
55475547
"$ref": "#/components/schemas/checkout_sofort_payment_method_options"
55485548
},
5549+
"swish": {
5550+
"$ref": "#/components/schemas/checkout_swish_payment_method_options"
5551+
},
55495552
"us_bank_account": {
55505553
"$ref": "#/components/schemas/checkout_us_bank_account_payment_method_options"
55515554
}
@@ -5580,6 +5583,7 @@
55805583
"revolut_pay",
55815584
"sepa_debit",
55825585
"sofort",
5586+
"swish",
55835587
"us_bank_account"
55845588
]
55855589
},
@@ -5598,6 +5602,20 @@
55985602
"type": "object",
55995603
"x-expandableFields": []
56005604
},
5605+
"checkout_swish_payment_method_options": {
5606+
"description": "",
5607+
"properties": {
5608+
"reference": {
5609+
"description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.",
5610+
"maxLength": 5000,
5611+
"nullable": true,
5612+
"type": "string"
5613+
}
5614+
},
5615+
"title": "CheckoutSwishPaymentMethodOptions",
5616+
"type": "object",
5617+
"x-expandableFields": []
5618+
},
56015619
"checkout_us_bank_account_payment_method_options": {
56025620
"description": "",
56035621
"properties": {
@@ -23460,6 +23478,7 @@
2346023478
"promptpay",
2346123479
"sepa_debit",
2346223480
"sofort",
23481+
"swish",
2346323482
"us_bank_account",
2346423483
"wechat_pay"
2346523484
],
@@ -61266,6 +61285,26 @@
6126661285
"title": "payment_method_options_param",
6126761286
"type": "object"
6126861287
},
61288+
"swish": {
61289+
"properties": {
61290+
"reference": {
61291+
"anyOf": [
61292+
{
61293+
"maxLength": 5000,
61294+
"type": "string"
61295+
},
61296+
{
61297+
"enum": [
61298+
""
61299+
],
61300+
"type": "string"
61301+
}
61302+
]
61303+
}
61304+
},
61305+
"title": "payment_method_options_param",
61306+
"type": "object"
61307+
},
6126961308
"us_bank_account": {
6127061309
"properties": {
6127161310
"financial_connections": {
@@ -61384,6 +61423,7 @@
6138461423
"revolut_pay",
6138561424
"sepa_debit",
6138661425
"sofort",
61426+
"swish",
6138761427
"us_bank_account",
6138861428
"wechat_pay",
6138961429
"zip"
@@ -102220,6 +102260,7 @@
102220102260
"promptpay",
102221102261
"sepa_debit",
102222102262
"sofort",
102263+
"swish",
102223102264
"us_bank_account",
102224102265
"wechat_pay"
102225102266
],
@@ -103451,6 +103492,7 @@
103451103492
"promptpay",
103452103493
"sepa_debit",
103453103494
"sofort",
103495+
"swish",
103454103496
"us_bank_account",
103455103497
"wechat_pay"
103456103498
],

0 commit comments

Comments
 (0)