You can download free apps, but you may need to have a valid payment method on file, even if the app you want to download is free.
Free apps has also In-app pruchase.
See -> Add a payment method to your Apple ID -> Add a payment method to your Apple ID – Apple Support (UK)
See also the following Apple articles:
Payment methods you can use with your Apple ID
Payment methods you can use with your Apple ID – Apple Support (UK)
fyi: Not all credit & debit cards seem to work with App Store / iTunes Store, try a different one, or preferably a credit card.
If your card is not accepted as a paymenf method, you need to contact your bank.
If you can’t download or update apps on your iPhone or iPad
If you can’t download or update apps on your iPhone or iPad – Apple Support (UK)
scroll to point 2 ⤵️
Add a payment method
You may need to have a valid payment method on file, even if the app you want to download is free.
Add a payment method
If your payment method is declined in the App Store or iTunes Store, see ->
If your payment method is declined in the App Store or iTunes Store - Apple Support
⤵️
How to complete your purchase if a payment failed or was declined
- On your iPhone or iPad, open the Settings app.
- Tap your name.
- Tap Payment & Shipping.
- Add a different payment method and remove the old one.
- Try to complete your purchase.
If you still can't make a purchase
If you have followed all the steps and instructions and if you still need help, get support from Apple directly -> Get Support or call Apple in your region see -> Contact Apple for support and service or check -> here for more support and assistance.