This article explains how to update your Apple ID payment information on various devices, including iOS, Android, and a desktop web browser. It also covers changing your Apple ID account email address and password.
How to Change Your Billing Address on iPhone (2021)
To change the credit card you use with your Apple ID for iTunes and App Store purchases on your iPhone, iPod touch, or iPad:
On the home screen, tap Settings.
Tap Payment & Shipping.