swag-payments/spec/paths/processing@invoices@{invoiceID}@payments@{paymentID}.yaml
Andrew Mayorov 19713fc464 CAPI-125: Impose reasonable limits and enforce specs on model props (#62)
* CAPI-125: Impose reasonable limits and enforce specs on model props

* CAPI-125: Accomodate for ipv6-mapped ipv4 addresses

* CAPI-125: Fix standard id

* CAPI-125: Refine phone number format
2017-05-12 17:23:24 +03:00

19 lines
502 B
YAML

get:
description: Получить данные платежа по указанному инвойсу.
tags:
- Payments
operationId: getPaymentByID
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/invoiceID'
- $ref: '#/parameters/paymentID'
responses:
'200':
description: Данные платежа
schema:
$ref: '#/definitions/Payment'
'400':
$ref: '#/responses/BadRequest'
'404':
$ref: '#/responses/NotFound'