To find out how to remove a payment method, and what to do if you can't remove your last payment method or use no payment method with your Apple ID, read this article --> Remove a payment method from your Apple ID - Apple Support
Ongoing subscriptions and Family Sharing organizers must always have a payment method present. To edit the cards used for those you may need to first add the new card and make it the primary payment method before removing the old card (see: If you need to change or update your Apple ID payment method - Apple Support ).
Read this support article for directions about how to see your purchase history in the App Store or iTunes Store [mobile device, computer, or web] --> View your purchase history for the App Store, iTunes Store, and other Apple media services - Apple Support