You can redeem all types of prepaid codes, including Microsoft gift cards and Xbox Live Gold subscription cards, on your Xbox One console and use them immediately. To do so, follow these steps:
  1. Press the Xbox button to open the guide, and then select Home. Make sure you’re signed in to the Microsoft account for which you want to redeem the code.
  2. On the Home screen, scroll right and select the Microsoft Store icon.
  3. Select Use a code.
  4. Use the onscreen keyboard to enter your 25-character code on the Redeem your code or gift card screen, and then select Next to finalize your redemption. Don’t worry about hyphens, the system takes care of those for you.
Once your code is redeemed, you’ll receive a confirmation message.