Microsoft Store Card

The store card that comes with the 1520. Can I use that for xbox too? I would love to purchase say.... plants vs. zombies garden warfare with it an change my gamertag which I've wanted to do for the longest