voucherifyio / voucherify-openapi

4 stars 5 forks source link

PW-MK: Redemption, redemption rollback descriptions #754

Closed p-woznikowski closed 4 months ago

p-woznikowski commented 4 months ago

Why

As per @janiksam request from Slack. The response body parameter for loyalty_card.points should refer to the number of points used for the transaction, while the amount should refer to the loyalty points used in the transaction and gift card credits.

What

Fixes to the descriptions in Redemption, RedemptionRollback, RedemptionInternal, and SimpleRedemption schemas. As required, the same changes are applied to the Events documentation