apply_filters() slices away needed arguments

I’m trying to add a button (its function is beyond the scope of this question, suffice it to say that it needs the refund id as an argument) to each refund line in a WooCommerce order. I found that those lines are created in woocommerce\includes\admin\meta-boxes\views\html-order-refund.php which can’t be overridden; however there’s a do_action( ‘woocommerce_admin_order_item_values’, null,…