swag-payments/spec/paths/processing@invoice-templates.yaml
Anton Belyaev 2e5cc1fb2b Introduce invoice templates (#79)
* introduce invoice templates
* refactor authorization description
* clarify auth description for Invoices operations
2017-07-26 19:06:15 +03:00

21 lines
613 B
YAML

post:
description: Создать новый шаблон инвойса.
tags:
- InvoiceTemplates
operationId: createInvoiceTemplate
parameters:
- $ref: '#/parameters/requestID'
- name: invoiceTemplateCreateParams
description: Параметры шаблона инвойса.
in: body
required: true
schema:
$ref: '#/definitions/InvoiceTemplateCreateParams'
responses:
'201':
description: Шаблон инвойса создан.
schema:
$ref: '#/definitions/InvoiceTemplateAndToken'
'400':
$ref: '#/responses/BadRequest'