I want to buy a game at win 10 Microsoft store. I want to buy an Xbox credit card from the gas station and then redeem it on the internet. Can I then use this redeemed balance to buy a game at the win 10 Microsoft store? Or is this Xbox card only for the Xbox?
Since the codes have the same layout, I strongly assume that you can also use these codes in the Microsoft Store. In my research, nothing spoke against it. Just try it. The code remains yes if it is not recognized. If you do not have an Xbox, then you can sell the prepaid card to a friend.
YES!
As SirGamerJames has said, they have the same layout (which does not have to mean anything). The redeemed balance will be credited to your Microsoft account and will work on both Windows 10 and XBOX, so it can be used as a payment method on both systems.