Skip to content

Commit 82b5114

Browse files
committed
update api specs
1 parent 7000207 commit 82b5114

3 files changed

Lines changed: 147 additions & 153 deletions

File tree

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

Lines changed: 49 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -3024,19 +3024,29 @@ components:
30243024
type: object
30253025
GatewayGroup:
30263026
properties:
3027-
gateways:
3028-
items:
3029-
$ref: '#/components/schemas/PaymentGroupGateway'
3027+
alternative_payment_methods:
30303028
readOnly: true
3031-
type: array
3029+
type: string
3030+
card_types:
3031+
readOnly: true
3032+
type: string
3033+
currencies:
3034+
readOnly: true
3035+
type: string
3036+
express_payment_methods:
3037+
readOnly: true
3038+
type: string
30323039
id:
30333040
readOnly: true
30343041
type: integer
30353042
name:
30363043
maxLength: 256
30373044
type: string
30383045
required:
3039-
- gateways
3046+
- alternative_payment_methods
3047+
- card_types
3048+
- currencies
3049+
- express_payment_methods
30403050
- id
30413051
- name
30423052
type: object
@@ -5998,11 +6008,19 @@ components:
59986008
type: object
59996009
Payment:
60006010
properties:
6011+
available_express_payment_methods:
6012+
readOnly: true
6013+
type: string
6014+
available_payment_methods:
6015+
readOnly: true
6016+
type: string
60016017
certificate_token:
60026018
type: string
60036019
environment_key:
60046020
type: string
60056021
required:
6022+
- available_express_payment_methods
6023+
- available_payment_methods
60066024
- certificate_token
60076025
- environment_key
60086026
type: object
@@ -6051,19 +6069,19 @@ components:
60516069
type: object
60526070
PaymentGateway:
60536071
properties:
6054-
accepted_card_types:
6055-
readOnly: true
6056-
type: string
6057-
accepted_currencies:
6058-
readOnly: true
6059-
type: string
60606072
active:
60616073
description: Gateway must be active to accept and process transactions.
60626074
type: boolean
60636075
auto_capture_on_fulfillment:
60646076
description: When enabled, payments will be automatically captured when
60656077
orders are fulfilled.
60666078
type: boolean
6079+
card_types:
6080+
readOnly: true
6081+
type: string
6082+
currencies:
6083+
readOnly: true
6084+
type: string
60676085
delayed_capture_days:
60686086
description: Payments will be automatically captured up to 7 days after
60696087
the authorization.
@@ -6113,8 +6131,8 @@ components:
61136131
type: string
61146132
x-spec-enum-id: 0e887a41ea162b2f
61156133
required:
6116-
- accepted_card_types
6117-
- accepted_currencies
6134+
- card_types
6135+
- currencies
61186136
- gateway_groups
61196137
- gateway_type
61206138
- id
@@ -6133,32 +6151,6 @@ components:
61336151
- name
61346152
- weight
61356153
type: object
6136-
PaymentGroupGateway:
6137-
properties:
6138-
accepted_card_types:
6139-
items:
6140-
type: string
6141-
type: array
6142-
accepted_currencies:
6143-
items:
6144-
type: string
6145-
type: array
6146-
active:
6147-
type: boolean
6148-
id:
6149-
type: integer
6150-
name:
6151-
type: string
6152-
weight:
6153-
type: integer
6154-
required:
6155-
- accepted_card_types
6156-
- accepted_currencies
6157-
- active
6158-
- id
6159-
- name
6160-
- weight
6161-
type: object
61626154
Product:
61636155
properties:
61646156
categories:
@@ -19553,17 +19545,17 @@ webhooks:
1955319545
- string
1955419546
data:
1955519547
properties:
19556-
accepted_card_types:
19557-
type: string
19558-
accepted_currencies:
19559-
type: string
1956019548
active:
1956119549
description: Gateway must be active to accept and process transactions.
1956219550
type: boolean
1956319551
auto_capture_on_fulfillment:
1956419552
description: When enabled, payments will be automatically captured
1956519553
when orders are fulfilled.
1956619554
type: boolean
19555+
card_types:
19556+
type: string
19557+
currencies:
19558+
type: string
1956719559
delayed_capture_days:
1956819560
description: Payments will be automatically captured up to 7
1956919561
days after the authorization.
@@ -19622,8 +19614,8 @@ webhooks:
1962219614
type: string
1962319615
x-spec-enum-id: 0e887a41ea162b2f
1962419616
required:
19625-
- accepted_card_types
19626-
- accepted_currencies
19617+
- card_types
19618+
- currencies
1962719619
- gateway_groups
1962819620
- gateway_type
1962919621
- id
@@ -19698,17 +19690,17 @@ webhooks:
1969819690
- string
1969919691
data:
1970019692
properties:
19701-
accepted_card_types:
19702-
type: string
19703-
accepted_currencies:
19704-
type: string
1970519693
active:
1970619694
description: Gateway must be active to accept and process transactions.
1970719695
type: boolean
1970819696
auto_capture_on_fulfillment:
1970919697
description: When enabled, payments will be automatically captured
1971019698
when orders are fulfilled.
1971119699
type: boolean
19700+
card_types:
19701+
type: string
19702+
currencies:
19703+
type: string
1971219704
delayed_capture_days:
1971319705
description: Payments will be automatically captured up to 7
1971419706
days after the authorization.
@@ -19767,8 +19759,8 @@ webhooks:
1976719759
type: string
1976819760
x-spec-enum-id: 0e887a41ea162b2f
1976919761
required:
19770-
- accepted_card_types
19771-
- accepted_currencies
19762+
- card_types
19763+
- currencies
1977219764
- gateway_groups
1977319765
- gateway_type
1977419766
- id
@@ -23724,11 +23716,17 @@ webhooks:
2372423716
type: string
2372523717
payments:
2372623718
properties:
23719+
available_express_payment_methods:
23720+
type: string
23721+
available_payment_methods:
23722+
type: string
2372723723
certificate_token:
2372823724
type: string
2372923725
environment_key:
2373023726
type: string
2373123727
required:
23728+
- available_express_payment_methods
23729+
- available_payment_methods
2373223730
- certificate_token
2373323731
- environment_key
2373423732
type: object

0 commit comments

Comments
 (0)