I called Apple and the rep confirmed I will be able to get a refund if I buy ML now and get the code later. Once you get your code, contact contact the App Store support via
http://www.apple.com/support/mac/app-store/contact/
http://www.apple.com/support/mac/app-store/contact/