Updated OpenAPI spec for voucher supplier, with examples more relevant to the first usecase (ooievaarspas AOW) - this YAML is also shared with PASS devs #60

Merged
maxmartens merged 9 commits from feature/OVPAY-2545-vouchers into develop 2026-06-08 08:45:46 +00:00
Showing only changes of commit f8010560cc - Show all commits

View File

@ -233,25 +233,26 @@ paths:
- name: productId
in: query
required: false
description: Return only vouchers that were issued for the given voucher definition (by it's productId).
description: Return only issued vouchers that were issued for the given voucher definition (by it's productId).
maxmartens marked this conversation as resolved Outdated

*its

*its
schema:
type: integer
example: 321
- name: highestVoucherStatusId
- name: voucherStatusId
in: query
required: false
explode: false
description: |-
The highest voucher status id to filter the issued vouchers on.
- 1 = new
Return only issued vouchers that currently have the given voucher status(es).
- 2 = issued
- 3 = redeemed
- 4 = revoked
- 5 = expired
- 6 = pendingRedemption
schema:
type: integer
example: 3
type: array
items:
type: integer
example: [4,5]
tags:
- Vouchers
responses: