woocommerce_order_status_refunded

If order status updated to refunded execute ‘failed_status_ refund’

add_action(‘woocommerce_order_status_refunded’, ‘failed_status_refund’);