I am fetching payments using the webhook V1 Payments and I have access to the payment and the source order. I understand that when a refund is made using the Square POS additional orders are created with the information of the returned items. Is there a way to get these returned items using the v1 payment or the source order?
Unfortunately there’s no easy way to look up the refund order via the API. Your best bet would be using SearchOrders API and looking for a refunded order; it will have a source_order
parameter on it if you’re looking for a specific order, but there’s no way to go from the original order to the refunded order at this time.