See again -> related Article: If you can’t download or update apps on your iPhone or iPad
⤵️
see point 2
You might need to have a valid payment method on file, even if the app that you want to download is free.
Add a payment method
- If you want to change your card, you need to add first the new card, then remove the old card.
- or if you use your Apple Account balance, you need to set your Apple Account balance as your default payment.
See also -> 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 still need help, get support from Apple directly -> Get Support or call Apple in your region see -> Contact Apple for support and service