You can edit your payment method in your account settings.
For the App Store:
1. Open device settings -> iTunes & App Store.
2. Tap your Apple ID email and select View Apple ID. You may be asked to log into your account.
3. Select Payment Information. If your device is associated with Family sharing, your payment information can only be edited by the sharing organizer.
4. Edit or remove the information. Tap None to remove a payment method.
5. Tap Done.
IMPORTANT NOTE: Once you’ve changed your payment method, you may see a temporary authorization hold for a small amount on your payment card (iTunes does that to make sure your new payment account is active).
For Google Play:
1. Open Play Store.
2. Tap menu -> Account.
3. Choose Payment methods -> More payment settings.
4. Enter your Google Payments account if asked to do so.
5. Tap Menu in the browser -> Payment methods.
6. Tap Edit under the selected payment method.
7. Apply the changes and tap Save.
For the Amazon Appstore:
1. Open Manage Your Content and Devices.
2. Select Settings -> Edit Payment Method.
3. Enter your changes and tap Continue.