mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 09:35:22 +00:00
ED-126: +customer payment methods
This commit is contained in:
parent
aa323466ce
commit
32bb198a2a
@ -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'
|
Loading…
Reference in New Issue
Block a user