swag-payments/spec/paths/processing@parties@{partyID}@payments.yaml

28 lines
676 B
YAML
Raw Permalink Normal View History

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"