What are the codes for?

Codes are usually given to support players who have lost IAPs, or to redeem prizes awarded in contests.