ED-126: +customer payment methods

This commit is contained in:
dinama 2021-09-23 14:01:17 +03:00
parent aa323466ce
commit 32bb198a2a
No known key found for this signature in database
GPG Key ID: DC1F111BFEC80053

View File

@ -0,0 +1,22 @@
get:
description: Получить доступные для плательщика методы оплаты.
tags:
- Customers
operationId: getCustomerPaymentMethods
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- $ref: '#/parameters/customerID'
responses:
'200':
description: Список методов оплаты
schema:
type: array
items:
$ref: '#/definitions/PaymentMethod'
'404':
$ref: '#/responses/NotFound'
'401':
$ref: '#/responses/Unauthorized'
'400':
$ref: '#/responses/DefaultLogicError'