Hi I am building a custom shopify app for a client.
The app acts as a return partner for the client where we handle the return management. The requirement is that we should charge customers for a speedy return option (deduct the said amount from refund).
I know there is Refund API doc here where we can issue partial refunds by specifying the refund amount.
But the catch here is that we only want to handle return management and do not want to process refunds.
We only want to handle the return part and let merchant click the refund button when they are okay with the quality of the returned item.
Is it possible deduct the amount from the refund so when merchant clicks the refund button in the shopify admin it only sends the remaining amount?