This is an issue with your payment method being used on your Apple ID or Google account.
On an iPhone
Please go to Settings > [your name] > Payment & Shipping and double check your payment settings.
Here's a helpful Apple article with more information on this: https://support.apple.com/en-us/HT201266#iOS
On an Android phone
Here's more about this: https://support.google.com/googleplay/answer/4646404?co=GENIE.Platform%3DDesktop&hl=en