added 401

This commit is contained in:
WWW_cool 2018-10-22 10:08:37 +03:00
parent e43fc40672
commit 5e1d78005f
50 changed files with 116 additions and 0 deletions

View File

@ -28,6 +28,8 @@ get:
$ref: '#/definitions/PaymentMethodStat'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные запроса статистики
schema:

View File

@ -17,6 +17,8 @@ get:
$ref: '#/definitions/PaymentRateStat'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные запроса статистики
schema:

View File

@ -152,6 +152,8 @@ get:
$ref: '#/definitions/Invoice'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные для поиска
schema:

View File

@ -135,6 +135,8 @@ get:
$ref: '#/definitions/PaymentSearchResult'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные для поиска
schema:

View File

@ -21,6 +21,8 @@ get:
$ref: '#/definitions/PaymentConversionStat'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные запроса статистики
schema:

View File

@ -21,6 +21,8 @@ get:
$ref: '#/definitions/PaymentGeoStat'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные запроса статистики
schema:

View File

@ -22,6 +22,8 @@ get:
$ref: '#/definitions/PaymentRevenueStat'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные запроса статистики
schema:

View File

@ -40,6 +40,8 @@ get:
$ref: '#/definitions/Payout'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные для поиска
schema:

View File

@ -54,6 +54,8 @@ get:
$ref: '#/definitions/RefundSearchResult'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Неверные данные для поиска
schema:

View File

@ -14,3 +14,5 @@ get:
$ref: '#/definitions/Account'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -19,3 +19,5 @@ get:
$ref: '#/definitions/Category'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -15,3 +15,5 @@ get:
$ref: '#/definitions/Claim'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -17,6 +17,8 @@ put:
description: Заявка отозвана
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибка отзыва заявки
schema:

View File

@ -14,3 +14,5 @@ get:
$ref: '#/definitions/Contract'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -16,3 +16,5 @@ get:
$ref: '#/definitions/ContractAdjustment'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -15,3 +15,5 @@ get:
$ref: '#/definitions/ContractAdjustment'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -16,3 +16,5 @@ get:
$ref: '#/definitions/PayoutTool'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -15,3 +15,5 @@ get:
$ref: '#/definitions/PayoutTool'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,6 +14,8 @@ get:
$ref: '#/definitions/Customer'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
delete:
description: Удалить плательщика по его идентификатору
@ -29,6 +31,8 @@ delete:
description: Плательщик удален
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибка удаления плательщика
schema:

View File

@ -15,3 +15,5 @@ post:
$ref: '#/definitions/AccessToken'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -20,6 +20,8 @@ post:
$ref: '#/definitions/CustomerBinding'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для привязки
schema:
@ -64,3 +66,5 @@ get:
$ref: '#/definitions/CustomerBinding'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -15,3 +15,5 @@ get:
$ref: '#/definitions/CustomerBinding'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -32,6 +32,8 @@ get:
$ref: '#/definitions/CustomerEvent'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для запроса истории
schema:

View File

@ -14,6 +14,8 @@ get:
$ref: '#/definitions/InvoiceTemplate'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
put:
description: Модифицировать шаблон инвойса.
@ -37,6 +39,8 @@ put:
$ref: '#/definitions/InvoiceTemplate'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для изменения шаблона
schema:
@ -74,6 +78,8 @@ delete:
description: Шаблон инвойса удален.
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для удаления шаблона
schema:

View File

@ -20,6 +20,8 @@ post:
$ref: '#/definitions/InvoiceAndToken'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для создания инвойса
schema:

View File

@ -16,3 +16,5 @@ get:
$ref: '#/definitions/PaymentMethod'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,3 +14,5 @@ get:
$ref: '#/definitions/Invoice'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,3 +14,5 @@ post:
$ref: '#/definitions/AccessToken'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -32,6 +32,8 @@ get:
$ref: '#/definitions/InvoiceEvent'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для запроса истории
schema:

View File

@ -18,6 +18,8 @@ post:
description: Инвойс погашен
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибка погашения инвойса
schema:

View File

@ -16,3 +16,5 @@ get:
$ref: '#/definitions/PaymentMethod'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -16,6 +16,8 @@ get:
$ref: '#/definitions/Payment'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
post:
description: Создать новый платеж по указанному инвойсу.
@ -39,6 +41,8 @@ post:
$ref: '#/definitions/Payment'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для запуска платежа
schema:

View File

@ -15,3 +15,5 @@ get:
$ref: '#/definitions/Payment'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -19,6 +19,8 @@ post:
description: Запрос на отмену платежа принят
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибка отмены платежа
schema:

View File

@ -19,6 +19,8 @@ post:
description: Запрос на подтверждение платежа принят
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибка подтверждения платежа
schema:

View File

@ -17,6 +17,8 @@ get:
$ref: '#/definitions/Refund'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
post:
description: Создать возврат указанного платежа
@ -41,6 +43,8 @@ post:
$ref: '#/definitions/Refund'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для возврата
schema:

View File

@ -16,3 +16,5 @@ get:
$ref: '#/definitions/Refund'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -18,6 +18,8 @@ post:
description: Инвойс аннулирован
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибка отмены инвойса
schema:

View File

@ -14,3 +14,5 @@ get:
$ref: '#/definitions/PaymentInstitution'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,3 +14,5 @@ get:
$ref: '#/definitions/PaymentTerms'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -27,3 +27,5 @@ get:
- InternationalBankAccount
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -33,3 +33,5 @@ get:
format: int32
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -19,3 +19,5 @@ get:
$ref: '#/definitions/Schedule'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,3 +14,5 @@ get:
$ref: '#/definitions/Shop'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -12,3 +12,5 @@ put:
description: Shop activated
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,3 +14,5 @@ put:
description: Shop suspended
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -14,6 +14,8 @@ get:
$ref: '#/definitions/Webhook'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
delete:
description: Снять указанный webhook.
@ -29,3 +31,5 @@ delete:
description: Webhook успешно снят
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -15,3 +15,5 @@ get:
$ref: '#/definitions/Report'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'

View File

@ -18,6 +18,8 @@ get:
description: URL файла
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
description: Ошибочные данные для скачинвания
schema:

View File

@ -109,6 +109,10 @@ responses:
description: Заданный ресурс не найден
schema:
$ref: '#/definitions/GeneralError'
Unauthorized:
description: Ошибка авторизации
schema:
$ref: '#/definitions/GeneralError'
parameters:
accountID:
name: accountID