In most online games, there simply isn't a general "membership code" you can type in to unlock premium features—membership is usually purchased directly through the game's official store or account page.
If a game does support redeeming a code, you will normally find the option in the account, settings, or "redeem code" section of the website or client. If you can't find such an option, it likely means that particular game doesn't use membership codes at all.