Xbox One payment method necessary?

Un
- in Xbox
1

Is it necessary to specify a payment method when topping up with the code: Xbox Live Gold, games and credit? Heard it is necessary for the Game Pass Ultimate.

Dr

I think so.