postRefundsAddAutomaticRefundForOrder

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

  • sourceId Integer
  • refundValue Number
  • paymentId Integer
  • refundCurrency String
Examples

This function adds an automatic refund for a specific order with a source ID of 1, payment ID of "1-1", refund currency of "PLN", and refund value of 100.

const result = await idosellRequest.postRefundsAddAutomaticRefundForOrder
	.sourceId(1)
	.paymentId("1-1")
	.refundCurrency("PLN")
	.refundValue(100)
	.exec()