You need to be logged into the Online Kingdom, and be inside your town. On the bottom right corner of the screen - next to the minimap - you`ll see buttons - Quests, Forums, Market. This is the Market button where Redeem Code option is located.