Redeems a voucher, transferring all or part of its value to a specified target account.
This operation allows for full or partial redemption of a voucher. If the redeemed value is less than the total voucher value, the voucher remains active with the remaining balance. Once fully redeemed, a voucher cannot be used again.
The unique identifier of the voucher to redeem.
The details required for redeeming the voucher, including the target account and redemption value.
The ID of the account that will receive the redeemed value of the voucher.
The value to be redeemed from the voucher. If not specified, the entire remaining value of the voucher will be redeemed. For partial redemption, specify a value less than the voucher's current value.
Optional metadata to be associated with the redemption transaction.
The updated Voucher object after redemption, including the new status and redemption 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 The timestamp when the voucher was last redeemed, in ISO 8601 format.
The ID of the account that received the redeemed voucher value.
The ID of the transaction created for this redemption.
The value that was redeemed in this transaction.
The remaining value on the voucher after this redemption.