I’m using the REST API to reconcile orders and payouts from Shopify payments. I have orders which was refunded but I can’t seem to reconcile the refund transactions, here example the details.
- order_amount: €265
- fee: €3
- payout_amount = order_amount - fee = €265 - €3 =€262
- return_amount: €261
- refund_discrepancy: €4
In my mind the return amount should either be:
- the original amount: €265
- or the original amount - fee = €262
So i have 2 questions:
- But why was only €261 returned
- What does refund_discrepancy mean. This can be found in refunds.order_adjustments.kind in the orders resource in the REST Api.
- I also noted that this was a partial refund even though all line items where returned, why does a return on all line items constitute a partial_refund?