get:
tags:
- Payments Lifecycle
summary: Payment query request
description: Query a payment
operationId: queryEvents
parameters:
- name: linkData
in: path
required: true
schema:
type: string
- name: WP-Api-Version
in: header
description: The API version
required: true
schema:
type: string
description: The API version
example: '2024-06-01'
enum:
- '2024-06-01'
example: '2024-06-01'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: ../components/schemas/QueryEventsResponse.yaml
examples:
Query Response Example:
$ref: examples/responses/query-202.yaml
'400':
description: Bad request
content:
application/json:
schema:
$ref: ../components/schemas/ValidationErrorResponse.yaml
examples:
Bad request:
$ref: examples/responses/errors/400.yaml
'404':
description: Not found
content:
application/json:
schema:
$ref: ../components/schemas/ErrorResponse.yaml
examples:
Not found:
$ref: examples/responses/errors/404.yaml
'500':
description: Internal server error
content:
application/json:
schema:
$ref: ../components/schemas/ErrorResponse.yaml
examples:
Internal server error:
$ref: examples/responses/errors/500.yaml
x-orderingPosition: '9'