Hi I have created the custom order with this API:
https://docs.clover.com/reference/ordercreateorder
Now when I try to to partial refund with this API: https://docs.clover.com/reference/postordersidreturns
It gives me following error:
{ "message": "400 Bad Request", "error": { "code": "processing_error", "message": "Only manual transaction orders are eligible for a partial amount refund. Please refund this order by item or refund the remaining payment amount in full." } }
I have tried full refund with this API: https://scl-sandbox.dev.clover.com/v1/refunds
With that full refund working but partial refund not working.
Also just for more info refund is processed by external system, I just want the clover to know that refund is processed.
For more info I am creating payment entry with this endpoint: https://docs.clover.com/reference/ordercreatepaymentfororder
Also we are using the custom tender to log that payment entry. Main thing is we want to do partial refund without items. Is that possible?
Can you guide me here how can I do partial refund for the order that I have created with REST API?