What happens is, there are five codes, the first 4 you put in should turn out to be what they say they are and instead of the fifth one, it will be a "rare costume" instead.
The codes are only available for free on one occasion only, but if you use them a second time you will be able to purchase the item from the shop.