Update Voucher
Updates an existing voucher with new parameters.
This operation allows modification of certain voucher properties. Typically, this might include extending the expiration date or changing the status.
Path Parameters
The unique identifier of the voucher to update.
Body
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
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