WooCommerce Cancellation Button with feedback form

Hello, this question is similar to the topic link above. I would like to create a “Cancel Subscription Button” with feedback form. After they fill the feedback form, their subscription will get cancel.

How to achieve this? Thank you.

Is the cancellation of the subscription treated as an order or a separate task on an existing order?

Gravity Flow provides a WooCommerce cancel order step type that may allow you to do it in a no code approach. Or our outgoing webhook step with step settings defined based on the WooCommerce Rest API for subscriptions should let you define the API request without PHP code either.