kiolyn-api-specs
Version:
53 lines (52 loc) • 1.3 kB
YAML
/maccount:
get:
tags:
- merchant
description: Get Merchant detail information.
operationId: loadMerchantAccount
security:
- bearerAuth: []
responses:
$ref#4xx: './responses/4xx.yaml'
200:
description: merchant account detail
content:
application/json:
schema:
type: object
properties:
value:
$ref: '#/components/schemas/Merchant'
post:
tags:
- merchant
description: Update Merchant detail information.
operationId: saveMerchantAccount
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Merchant'
responses:
$ref#4xx: './responses/4xx.yaml'
$ref#200: './responses/200-update-account.yaml'
/merchant:
post:
tags:
- merchant
description: Update Merchant detail information.
operationId: saveMerchant
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Merchant'
responses:
$ref#4xx: './responses/4xx.yaml'
$ref#upsert: './responses/20x-upsert.yaml'