What happens if you create and lose an Mt. Gox redeemable code?
The code appears in your account history.  If it hasn't been redeemed, it also appears here:

Funding Options -> Redeem Codes

It also has a Cancel if you don't wish to use it (it simply redeems it to your own account).