swag-payments/spec/paths/processing@parties@{partyID}@payments.yaml
Pavel Popov 93f37761be
Translate into eng (#72)
* Translate into eng

* Markdown fixes

* Spelling fixes

* Spelling fixes

* Yaml fixes

* Update openapi config
2023-08-07 18:44:56 +07:00

28 lines
676 B
YAML

get:
description: Get payment by specified external identifier.
tags:
- Payments
operationId: getPaymentByExternalIDForParty
parameters:
- $ref: "#/parameters/requestID"
- $ref: "#/parameters/deadline"
- $ref: "#/parameters/partyID"
- name: externalID
description: External payment identifier
in: query
required: true
type: string
maxLength: 40
minLength: 1
responses:
"200":
description: Payment
schema:
$ref: "#/definitions/Payment"
"404":
$ref: "#/responses/NotFound"
"401":
$ref: "#/responses/Unauthorized"
"400":
$ref: "#/responses/DefaultLogicError"