Skip to content

Commit 2ef780b

Browse files
Update OpenAPI specification
1 parent e00ac98 commit 2ef780b

6 files changed

+243
-0
lines changed

openapi/spec3.beta.sdk.json

+47
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
],

openapi/spec3.beta.sdk.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -7814,6 +7814,8 @@ components:
78147814
$ref: '#/components/schemas/checkout_sepa_debit_payment_method_options'
78157815
sofort:
78167816
$ref: '#/components/schemas/checkout_sofort_payment_method_options'
7817+
swish:
7818+
$ref: '#/components/schemas/checkout_swish_payment_method_options'
78177819
us_bank_account:
78187820
$ref: '#/components/schemas/checkout_us_bank_account_payment_method_options'
78197821
title: CheckoutSessionPaymentMethodOptions
@@ -7846,6 +7848,7 @@ components:
78467848
- revolut_pay
78477849
- sepa_debit
78487850
- sofort
7851+
- swish
78497852
- us_bank_account
78507853
checkout_sofort_payment_method_options:
78517854
description: ''
@@ -7875,6 +7878,21 @@ components:
78757878
title: CheckoutSofortPaymentMethodOptions
78767879
type: object
78777880
x-expandableFields: []
7881+
checkout_swish_payment_method_options:
7882+
description: ''
7883+
properties:
7884+
reference:
7885+
description: >-
7886+
The order reference that will be displayed to customers in the Swish
7887+
application. Defaults to the `id` of the Payment Intent.
7888+
maxLength: 5000
7889+
nullable: true
7890+
type: string
7891+
required:
7892+
- reference
7893+
title: CheckoutSwishPaymentMethodOptions
7894+
type: object
7895+
x-expandableFields: []
78787896
checkout_us_bank_account_payment_method_options:
78797897
description: ''
78807898
properties:
@@ -31568,6 +31586,7 @@ components:
3156831586
- promptpay
3156931587
- sepa_debit
3157031588
- sofort
31589+
- swish
3157131590
- us_bank_account
3157231591
- wechat_pay
3157331592
type: string
@@ -76415,6 +76434,22 @@ paths:
7641576434
type: string
7641676435
title: payment_method_options_param
7641776436
type: object
76437+
swish:
76438+
description: contains details about the Swish payment method options.
76439+
properties:
76440+
reference:
76441+
anyOf:
76442+
- maxLength: 5000
76443+
type: string
76444+
- enum:
76445+
- ''
76446+
type: string
76447+
description: >-
76448+
The order reference that will be displayed to
76449+
customers in the Swish application. Defaults to the
76450+
`id` of the Payment Intent.
76451+
title: payment_method_options_param
76452+
type: object
7641876453
us_bank_account:
7641976454
description: >-
7642076455
contains details about the Us Bank Account payment
@@ -76600,6 +76635,7 @@ paths:
7660076635
- revolut_pay
7660176636
- sepa_debit
7660276637
- sofort
76638+
- swish
7660376639
- us_bank_account
7660476640
- wechat_pay
7660576641
- zip
@@ -132986,6 +133022,7 @@ paths:
132986133022
- promptpay
132987133023
- sepa_debit
132988133024
- sofort
133025+
- swish
132989133026
- us_bank_account
132990133027
- wechat_pay
132991133028
type: string
@@ -134193,6 +134230,7 @@ paths:
134193134230
- promptpay
134194134231
- sepa_debit
134195134232
- sofort
134233+
- swish
134196134234
- us_bank_account
134197134235
- wechat_pay
134198134236
type: string

openapi/spec3.json

+42
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
],

openapi/spec3.sdk.json

+47
Original file line numberDiff line numberDiff line change
@@ -6987,6 +6987,9 @@
69876987
"sofort": {
69886988
"$ref": "#/components/schemas/checkout_sofort_payment_method_options"
69896989
},
6990+
"swish": {
6991+
"$ref": "#/components/schemas/checkout_swish_payment_method_options"
6992+
},
69906993
"us_bank_account": {
69916994
"$ref": "#/components/schemas/checkout_us_bank_account_payment_method_options"
69926995
}
@@ -7021,6 +7024,7 @@
70217024
"revolut_pay",
70227025
"sepa_debit",
70237026
"sofort",
7027+
"swish",
70247028
"us_bank_account"
70257029
]
70267030
},
@@ -7039,6 +7043,23 @@
70397043
"type": "object",
70407044
"x-expandableFields": []
70417045
},
7046+
"checkout_swish_payment_method_options": {
7047+
"description": "",
7048+
"properties": {
7049+
"reference": {
7050+
"description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.",
7051+
"maxLength": 5000,
7052+
"nullable": true,
7053+
"type": "string"
7054+
}
7055+
},
7056+
"required": [
7057+
"reference"
7058+
],
7059+
"title": "CheckoutSwishPaymentMethodOptions",
7060+
"type": "object",
7061+
"x-expandableFields": []
7062+
},
70427063
"checkout_us_bank_account_payment_method_options": {
70437064
"description": "",
70447065
"properties": {
@@ -28893,6 +28914,7 @@
2889328914
"promptpay",
2889428915
"sepa_debit",
2889528916
"sofort",
28917+
"swish",
2889628918
"us_bank_account",
2889728919
"wechat_pay"
2889828920
],
@@ -69891,6 +69913,28 @@
6989169913
"title": "payment_method_options_param",
6989269914
"type": "object"
6989369915
},
69916+
"swish": {
69917+
"description": "contains details about the Swish payment method options.",
69918+
"properties": {
69919+
"reference": {
69920+
"anyOf": [
69921+
{
69922+
"maxLength": 5000,
69923+
"type": "string"
69924+
},
69925+
{
69926+
"enum": [
69927+
""
69928+
],
69929+
"type": "string"
69930+
}
69931+
],
69932+
"description": "The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent."
69933+
}
69934+
},
69935+
"title": "payment_method_options_param",
69936+
"type": "object"
69937+
},
6989469938
"us_bank_account": {
6989569939
"description": "contains details about the Us Bank Account payment method options.",
6989669940
"properties": {
@@ -70019,6 +70063,7 @@
7001970063
"revolut_pay",
7002070064
"sepa_debit",
7002170065
"sofort",
70066+
"swish",
7002270067
"us_bank_account",
7002370068
"wechat_pay",
7002470069
"zip"
@@ -106695,6 +106740,7 @@
106695106740
"promptpay",
106696106741
"sepa_debit",
106697106742
"sofort",
106743+
"swish",
106698106744
"us_bank_account",
106699106745
"wechat_pay"
106700106746
],
@@ -108002,6 +108048,7 @@
108002108048
"promptpay",
108003108049
"sepa_debit",
108004108050
"sofort",
108051+
"swish",
108005108052
"us_bank_account",
108006108053
"wechat_pay"
108007108054
],

0 commit comments

Comments
 (0)