postPaymentsCancel

Operation Id:
payments/cancel/post [Official Documentaction]
Methods

  • sourceType 'order'|'return'|'rma'
  • paymentNumber String
Examples

This function cancels a payment with the source type as "order" and the payment number as "9-1".

const result = await idosellRequest.postPaymentsCancel
	.sourceType("order")
	.paymentNumber("9-1")
	.exec()