Partial refund with two OrderAdjustments

StephanBillbee
New Member
2 0 0

Hello,

can someone please help me with OrderAdjustments?

We have a customer where there are always two OrderAdjustments with type "refund_discrepancy" for partially refunded orders. In sum, both OrderAdjustments always result in the price of the refunded item.

What do the OrderAdjustments mean? Can I deduce from them what was really refunded?

"order_adjustments": [
{
"id": 98765432,
"order_id": 54321,
"refund_id": 12345,
"amount": "5.00",
"tax_amount": "0.00",
"kind": "refund_discrepancy",
"reason": "Refund discrepancy",
"amount_set": {
"shop_money": {
"amount": "5.00",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "5.00",
"currency_code": "EUR"
}
},
"tax_amount_set": {
"shop_money": {
"amount": "0.00",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "0.00",
"currency_code": "EUR"
}
}
},
{
"id": 4567876543,
"order_id": 54321,
"refund_id": 12345,
"amount": "50.14",
"tax_amount": "0.00",
"kind": "refund_discrepancy",
"reason": "Refund discrepancy",
"amount_set": {
"shop_money": {
"amount": "50.14",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "50.14",
"currency_code": "EUR"
}
},
"tax_amount_set": {
"shop_money": {
"amount": "0.00",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "0.00",
"currency_code": "EUR"
}
}
}
]
0 Likes