So here is how you can do it @simmsy . you have to use combination of sales agreement data thru graphql (Documentation) and order api
Here is logic if gift card line was added after order was placed and if customer paid 0 for it was most likely tied to a refund. What customer paid for it can be determined through the Sales Agreement object.
This is the best I could come up with. Hope this helps.