Operation Id:
refunds/addManualRefund/ [Official Documentaction]
Methods
- sourceType 'order'|'return'|'rma'
- sourceId Integer
- refundValue Number
- refundCurrency String
- refundDetails Object
Examples
This function records a manual refund for a specific order with the given refund value, currency, and refund details.
const result = await idosellRequest.postRefundsAddManualRefund
.sourceType("order")
.sourceId(9)
.refundValue(100)
.refundCurrency("PLN")
.refundDetails({"paymentFormId": 0,"paymentSystem": 27})
.exec()