Real money use in req system

So I’ve never used any of my real money in halo 5 and I’m kinda confused on it so I while back I plugged in. A code for 25 dollars on my Xbox one now would I use that money or would I have to use a credit card number I’m not sure

Either or