If you have an option to change your payment info to "None", then you can do that. Otherwise, you must have a payment method on file. You can use an iTunes card to do this. A Credit Card is not required:
If you can't choose None when you edit your Apple ID payment information - Apple Support
Best,
GB