How do I cancel future payments in a payment plan

When a customer requests to cancel a purchase they have agreed to make multiple payments on, how do I cancel the future payments?
I would like to automate this with a tag if possible.

You definitely can’t do this automatically, however this help article might assist you.