Because your billing is securely managed by your device's app store, you will need to update your payment information directly within your Apple or Google account.
For Apple (iOS) Users:
Open the Settings app on your iPhone or iPad.
Tap your Name at the very top of the screen.
Tap Payment & Shipping (you may be asked to sign in with Face ID or your passcode).
Tap Add Payment Method to enter a new card, or tap Edit in the top right corner to remove or update an existing card.
For Google (Android) Users:
Open the Google Play Store app on your device.
Tap your Profile icon in the top right corner.
Tap Payments & subscriptions, then select Payment methods.
Scroll down and tap More payment settings to edit an existing card, or simply select Add credit or debit card to enter a new one.