voidPayment

Void a Payment.

Request

Field Description Additional info
payment id The id of the payment in clearbooks integer
payment type String identifying the type of the payment Value one of:

  • purchases
  • sales

Response

Field Description Additional info
payment success True if successful, false if failed boolean
payment msg A message describing the state of success string