swag-payments/spec/paths/processing@invoices@{invoiceID}@events.yaml
2023-11-27 14:35:05 +03:00

39 lines
969 B
YAML

get:
description: Get the history of the specified invoice as a list of events.
tags:
- Invoices
operationId: getInvoiceEvents
parameters:
- $ref: "#/parameters/requestID"
- $ref: "#/parameters/deadline"
- $ref: "#/parameters/invoiceID"
- name: limit
in: query
description: Selection limit
required: true
type: integer
format: int32
minimum: 1
- name: eventID
in: query
description: >
Event identifier.
All events that occurred in the system _after_ the specified event will be included in the selection.
required: false
type: integer
format: int32
responses:
"200":
description: A list of events
schema:
type: array
items:
$ref: "#/definitions/InvoiceEvent"
"404":
$ref: "#/responses/NotFound"
"401":
$ref: "#/responses/Unauthorized"
"400":
$ref: "#/responses/DefaultLogicError"