Path Parameters
The unique identifier of the voucher to update.
Body
The details of the voucher properties to be updated.
The new expiration date of the voucher in ISO 8601 format. If provided, this will extend or shorten the voucher's validity period.
The new status of the voucher. This allows for manual state transitions, e.g., cancelling a voucher.
ACTIVE
, PARTIALLY_REDEEMED
, FULLY_REDEEMED
, EXPIRED
, CANCELLED
Additional metadata or properties that can be updated. This is a flexible field to allow for future extensions without changing the API structure.
Response
The updated Voucher object containing all relevant details.
Unique identifier for the voucher.
The value of the voucher.
The expiration date of the voucher in ISO 8601 format.
The name of the voucher provider or issuing system.
The account ID from which funds were sourced to back the voucher.
The current status of the voucher.
ACTIVE
, PARTIALLY_REDEEMED
, FULLY_REDEEMED
, EXPIRED
, CANCELLED