A refund is created with $29.55, which is a refund against the line item in the order.
But we see an Order_adjustment with the same amount is getting created of kind refund_discrepancy.
The “AfterPay” gateway is used.
Because we are refunding the full line_item amount we should be seeing any refund order_adjustment, I am not sure how this refund_discrepancy is showing up in refund JSON.
I have attached the complete order JSON for reference.
Please help me understand how this order_ajustment of kind refund_discrepancy in the refund got created.