mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 09:35:22 +00:00
added 401
This commit is contained in:
parent
e43fc40672
commit
5e1d78005f
@ -28,6 +28,8 @@ get:
|
||||
$ref: '#/definitions/PaymentMethodStat'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные запроса статистики
|
||||
schema:
|
||||
|
@ -17,6 +17,8 @@ get:
|
||||
$ref: '#/definitions/PaymentRateStat'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные запроса статистики
|
||||
schema:
|
||||
|
@ -152,6 +152,8 @@ get:
|
||||
$ref: '#/definitions/Invoice'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные для поиска
|
||||
schema:
|
||||
|
@ -135,6 +135,8 @@ get:
|
||||
$ref: '#/definitions/PaymentSearchResult'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные для поиска
|
||||
schema:
|
||||
|
@ -21,6 +21,8 @@ get:
|
||||
$ref: '#/definitions/PaymentConversionStat'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные запроса статистики
|
||||
schema:
|
||||
|
@ -21,6 +21,8 @@ get:
|
||||
$ref: '#/definitions/PaymentGeoStat'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные запроса статистики
|
||||
schema:
|
||||
|
@ -22,6 +22,8 @@ get:
|
||||
$ref: '#/definitions/PaymentRevenueStat'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные запроса статистики
|
||||
schema:
|
||||
|
@ -40,6 +40,8 @@ get:
|
||||
$ref: '#/definitions/Payout'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные для поиска
|
||||
schema:
|
||||
|
@ -54,6 +54,8 @@ get:
|
||||
$ref: '#/definitions/RefundSearchResult'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Неверные данные для поиска
|
||||
schema:
|
||||
|
@ -14,3 +14,5 @@ get:
|
||||
$ref: '#/definitions/Account'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -19,3 +19,5 @@ get:
|
||||
$ref: '#/definitions/Category'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -15,3 +15,5 @@ get:
|
||||
$ref: '#/definitions/Claim'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -17,6 +17,8 @@ put:
|
||||
description: Заявка отозвана
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибка отзыва заявки
|
||||
schema:
|
||||
|
@ -14,3 +14,5 @@ get:
|
||||
$ref: '#/definitions/Contract'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -16,3 +16,5 @@ get:
|
||||
$ref: '#/definitions/ContractAdjustment'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -15,3 +15,5 @@ get:
|
||||
$ref: '#/definitions/ContractAdjustment'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -16,3 +16,5 @@ get:
|
||||
$ref: '#/definitions/PayoutTool'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -15,3 +15,5 @@ get:
|
||||
$ref: '#/definitions/PayoutTool'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -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:
|
||||
|
@ -15,3 +15,5 @@ post:
|
||||
$ref: '#/definitions/AccessToken'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -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'
|
||||
|
@ -15,3 +15,5 @@ get:
|
||||
$ref: '#/definitions/CustomerBinding'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -32,6 +32,8 @@ get:
|
||||
$ref: '#/definitions/CustomerEvent'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибочные данные для запроса истории
|
||||
schema:
|
||||
|
@ -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:
|
||||
|
@ -20,6 +20,8 @@ post:
|
||||
$ref: '#/definitions/InvoiceAndToken'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибочные данные для создания инвойса
|
||||
schema:
|
||||
|
@ -16,3 +16,5 @@ get:
|
||||
$ref: '#/definitions/PaymentMethod'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -14,3 +14,5 @@ get:
|
||||
$ref: '#/definitions/Invoice'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -14,3 +14,5 @@ post:
|
||||
$ref: '#/definitions/AccessToken'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -32,6 +32,8 @@ get:
|
||||
$ref: '#/definitions/InvoiceEvent'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибочные данные для запроса истории
|
||||
schema:
|
||||
|
@ -18,6 +18,8 @@ post:
|
||||
description: Инвойс погашен
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибка погашения инвойса
|
||||
schema:
|
||||
|
@ -16,3 +16,5 @@ get:
|
||||
$ref: '#/definitions/PaymentMethod'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -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:
|
||||
|
@ -15,3 +15,5 @@ get:
|
||||
$ref: '#/definitions/Payment'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -19,6 +19,8 @@ post:
|
||||
description: Запрос на отмену платежа принят
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибка отмены платежа
|
||||
schema:
|
||||
|
@ -19,6 +19,8 @@ post:
|
||||
description: Запрос на подтверждение платежа принят
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибка подтверждения платежа
|
||||
schema:
|
||||
|
@ -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:
|
||||
|
@ -16,3 +16,5 @@ get:
|
||||
$ref: '#/definitions/Refund'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -18,6 +18,8 @@ post:
|
||||
description: Инвойс аннулирован
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибка отмены инвойса
|
||||
schema:
|
||||
|
@ -14,3 +14,5 @@ get:
|
||||
$ref: '#/definitions/PaymentInstitution'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -14,3 +14,5 @@ get:
|
||||
$ref: '#/definitions/PaymentTerms'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -27,3 +27,5 @@ get:
|
||||
- InternationalBankAccount
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -33,3 +33,5 @@ get:
|
||||
format: int32
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -19,3 +19,5 @@ get:
|
||||
$ref: '#/definitions/Schedule'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -14,3 +14,5 @@ get:
|
||||
$ref: '#/definitions/Shop'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -12,3 +12,5 @@ put:
|
||||
description: Shop activated
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -14,3 +14,5 @@ put:
|
||||
description: Shop suspended
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -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'
|
||||
|
@ -15,3 +15,5 @@ get:
|
||||
$ref: '#/definitions/Report'
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
|
@ -18,6 +18,8 @@ get:
|
||||
description: URL файла
|
||||
'404':
|
||||
$ref: '#/responses/NotFound'
|
||||
'401':
|
||||
$ref: '#/responses/Unauthorized'
|
||||
'400':
|
||||
description: Ошибочные данные для скачинвания
|
||||
schema:
|
||||
|
@ -109,6 +109,10 @@ responses:
|
||||
description: Заданный ресурс не найден
|
||||
schema:
|
||||
$ref: '#/definitions/GeneralError'
|
||||
Unauthorized:
|
||||
description: Ошибка авторизации
|
||||
schema:
|
||||
$ref: '#/definitions/GeneralError'
|
||||
parameters:
|
||||
accountID:
|
||||
name: accountID
|
||||
|
Loading…
Reference in New Issue
Block a user