Cancel pending purchase
How to stop the pending purchase
How to stop the pending purchase
What do you mean by "pending". Purchases can be seen as pending on your credit card but usually done within a few seconds.
You can contact with Apple to request a refund. See the article below to how to request refund from Apple.
Request a refund for apps or content that you bought from Apple - Apple Support (CA)
Cancel pending purchase