Go to Valencia in Battleon and choose the special codes option.
She is the NPC who handles code redemption, and the menu is only available through her rather than from the general settings screen. Codes entered there apply to your account immediately, so it is worth checking you have the right one before confirming.