putPayments

Operation Id:
payments/payments/put [Official Documentaction]
Methods

  • sourceType 'order'|'return'|'rma'
  • paymentNumber String
  • paymentFormId Integer
  • value Number
  • accountingDate String
  • account String
  • clientAccount String
  • other Object
  • externalPaymentId String
Examples

This function sets the value of a payment with the source type "order" and payment number "3-3" to 10.

const result = await idosellRequest.putPayments
	.sourceType("order")
	.paymentNumber("3-3")
	.value(10)
	.exec()