How do I cancel a purchase in the app store?

Want to cancel a purchase on app store

I was purchasing a subscription to idisiple and was suppose to use a special code I bought a store but used my Apple ID. How can I cancel and repurchase it with a card
Re: Want to cancel a purchase on app store

How to request a refund for an iTunes or App Store purchase | iMore

Original thread: https://forums.imore.com/threads/how-do-i-cancel-a-purchase-in-the-app-store.315438/