This is an issue with your payment method being used on your Apple ID or Google account.ย
iOS
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
Android
On your computer, go to your Google Play account.
Click Edit payment methods. You will go to your pay.google.com account.
On the left, click Payment methods.
Here's more about this: https://support.google.com/googleplay/answer/4646404?co=GENIE.Platform%3DDesktop&hl=en