If you're talking about on a Version 2, there isn't. Although the best way to earn money is by playing alot of games (You most likely already knew that.)
If you're talking about the Version 3, however, I'm not sure. I don't even know if that version has codes, considering that I don't own one. (Although I wish I did!)