mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-07 01:55:22 +00:00
2e5cc1fb2b
* introduce invoice templates * refactor authorization description * clarify auth description for Invoices operations
21 lines
613 B
YAML
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'
|