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:
- 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.
- On the Home screen, scroll right and select the Microsoft Store icon.
- Select Use a code.
- Use the onscreen keyboard to enter your 25-character code on the "Redeem your code or gift card" screen.
- 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 successfully, you’ll receive a confirmation message.