Skip to content

Commit e288f7f

Browse files
committed
update api spec files
1 parent 82b5114 commit e288f7f

3 files changed

Lines changed: 393 additions & 42 deletions

File tree

static/api/admin/2023-02-10.yaml

Lines changed: 131 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3025,17 +3025,25 @@ components:
30253025
GatewayGroup:
30263026
properties:
30273027
alternative_payment_methods:
3028+
items:
3029+
$ref: '#/components/schemas/PaymentMethod'
30283030
readOnly: true
3029-
type: string
3031+
type: array
30303032
card_types:
3033+
items:
3034+
$ref: '#/components/schemas/PaymentMethod'
30313035
readOnly: true
3032-
type: string
3036+
type: array
30333037
currencies:
3038+
items:
3039+
$ref: '#/components/schemas/Currency'
30343040
readOnly: true
3035-
type: string
3041+
type: array
30363042
express_payment_methods:
3043+
items:
3044+
$ref: '#/components/schemas/PaymentMethod'
30373045
readOnly: true
3038-
type: string
3046+
type: array
30393047
id:
30403048
readOnly: true
30413049
type: integer
@@ -5755,6 +5763,11 @@ components:
57555763
cancel_reason:
57565764
readOnly: true
57575765
type: string
5766+
cancel_reason_other_message:
5767+
readOnly: true
5768+
type:
5769+
- string
5770+
- 'null'
57585771
currency:
57595772
readOnly: true
57605773
type: string
@@ -6009,11 +6022,15 @@ components:
60096022
Payment:
60106023
properties:
60116024
available_express_payment_methods:
6025+
items:
6026+
$ref: '#/components/schemas/PaymentMethod'
60126027
readOnly: true
6013-
type: string
6028+
type: array
60146029
available_payment_methods:
6030+
items:
6031+
$ref: '#/components/schemas/PaymentMethod'
60156032
readOnly: true
6016-
type: string
6033+
type: array
60176034
certificate_token:
60186035
type: string
60196036
environment_key:
@@ -6077,11 +6094,15 @@ components:
60776094
orders are fulfilled.
60786095
type: boolean
60796096
card_types:
6097+
items:
6098+
$ref: '#/components/schemas/PaymentMethod'
60806099
readOnly: true
6081-
type: string
6100+
type: array
60826101
currencies:
6102+
items:
6103+
$ref: '#/components/schemas/Currency'
60836104
readOnly: true
6084-
type: string
6105+
type: array
60856106
delayed_capture_days:
60866107
description: Payments will be automatically captured up to 7 days after
60876108
the authorization.
@@ -6151,6 +6172,16 @@ components:
61516172
- name
61526173
- weight
61536174
type: object
6175+
PaymentMethod:
6176+
properties:
6177+
code:
6178+
type: string
6179+
label:
6180+
type: string
6181+
required:
6182+
- code
6183+
- label
6184+
type: object
61546185
Product:
61556186
properties:
61566187
categories:
@@ -7423,6 +7454,11 @@ components:
74237454
cancel_reason:
74247455
readOnly: true
74257456
type: string
7457+
cancel_reason_other_message:
7458+
readOnly: true
7459+
type:
7460+
- string
7461+
- 'null'
74267462
currency:
74277463
readOnly: true
74287464
type: string
@@ -7525,6 +7561,7 @@ components:
75257561
required:
75267562
- attribution
75277563
- cancel_reason
7564+
- cancel_reason_other_message
75287565
- currency
75297566
- date_created
75307567
- frequency
@@ -7551,6 +7588,11 @@ components:
75517588
cancel_reason:
75527589
readOnly: true
75537590
type: string
7591+
cancel_reason_other_message:
7592+
readOnly: true
7593+
type:
7594+
- string
7595+
- 'null'
75547596
currency:
75557597
readOnly: true
75567598
type: string
@@ -7653,6 +7695,7 @@ components:
76537695
required:
76547696
- attribution
76557697
- cancel_reason
7698+
- cancel_reason_other_message
76567699
- currency
76577700
- date_created
76587701
- frequency
@@ -19553,9 +19596,31 @@ webhooks:
1955319596
when orders are fulfilled.
1955419597
type: boolean
1955519598
card_types:
19556-
type: string
19599+
items:
19600+
properties:
19601+
code:
19602+
type: string
19603+
label:
19604+
type: string
19605+
required:
19606+
- code
19607+
- label
19608+
type: object
19609+
type: array
1955719610
currencies:
19558-
type: string
19611+
items:
19612+
properties:
19613+
code:
19614+
maxLength: 5
19615+
title: Currency Code
19616+
type: string
19617+
label:
19618+
type: string
19619+
required:
19620+
- code
19621+
- label
19622+
type: object
19623+
type: array
1955919624
delayed_capture_days:
1956019625
description: Payments will be automatically captured up to 7
1956119626
days after the authorization.
@@ -19698,9 +19763,31 @@ webhooks:
1969819763
when orders are fulfilled.
1969919764
type: boolean
1970019765
card_types:
19701-
type: string
19766+
items:
19767+
properties:
19768+
code:
19769+
type: string
19770+
label:
19771+
type: string
19772+
required:
19773+
- code
19774+
- label
19775+
type: object
19776+
type: array
1970219777
currencies:
19703-
type: string
19778+
items:
19779+
properties:
19780+
code:
19781+
maxLength: 5
19782+
title: Currency Code
19783+
type: string
19784+
label:
19785+
type: string
19786+
required:
19787+
- code
19788+
- label
19789+
type: object
19790+
type: array
1970419791
delayed_capture_days:
1970519792
description: Payments will be automatically captured up to 7
1970619793
days after the authorization.
@@ -23717,9 +23804,29 @@ webhooks:
2371723804
payments:
2371823805
properties:
2371923806
available_express_payment_methods:
23720-
type: string
23807+
items:
23808+
properties:
23809+
code:
23810+
type: string
23811+
label:
23812+
type: string
23813+
required:
23814+
- code
23815+
- label
23816+
type: object
23817+
type: array
2372123818
available_payment_methods:
23722-
type: string
23819+
items:
23820+
properties:
23821+
code:
23822+
type: string
23823+
label:
23824+
type: string
23825+
required:
23826+
- code
23827+
- label
23828+
type: object
23829+
type: array
2372323830
certificate_token:
2372423831
type: string
2372523832
environment_key:
@@ -23970,6 +24077,10 @@ webhooks:
2397024077
type: object
2397124078
cancel_reason:
2397224079
type: string
24080+
cancel_reason_other_message:
24081+
type:
24082+
- string
24083+
- 'null'
2397324084
currency:
2397424085
type: string
2397524086
date_created:
@@ -24313,6 +24424,7 @@ webhooks:
2431324424
required:
2431424425
- attribution
2431524426
- cancel_reason
24427+
- cancel_reason_other_message
2431624428
- currency
2431724429
- date_created
2431824430
- frequency
@@ -24549,6 +24661,10 @@ webhooks:
2454924661
type: object
2455024662
cancel_reason:
2455124663
type: string
24664+
cancel_reason_other_message:
24665+
type:
24666+
- string
24667+
- 'null'
2455224668
currency:
2455324669
type: string
2455424670
date_created:
@@ -24892,6 +25008,7 @@ webhooks:
2489225008
required:
2489325009
- attribution
2489425010
- cancel_reason
25011+
- cancel_reason_other_message
2489525012
- currency
2489625013
- date_created
2489725014
- frequency

0 commit comments

Comments
 (0)