putRefundsCancelRefund

Operation Id:
refunds/cancelRefund/ [Official Documentaction]
Methods

  • sourceType 'order'|'return'|'rma'
  • sourceId Integer
  • paymentId String
Examples

This function sets the source type as "order", the source ID as 3, and the payment ID as 6 when canceling a refund.

const result = await idosellRequest.putRefundsCancelRefund
	.sourceType("order")
	.sourceId(3)
	.paymentId(6)
	.exec()