Verifying Voucher

Not the whole thing, gift voucher itself is already documented.
You might not find tutorial for gift voucher with payment processor conditions as is more specific but voucher itself is;
Her for example

Impliment your voucher system first then we can work out the value/amount validation.