cancel method cancels a batch of previously authorized (but not yet captured) one-time Transaction objects, so that Subscribe does not attempt to capture them with your payment processor. See the Transaction.auth and Transaction.capture methods for details.
For certain payment processors, who charge a fee if you do not capture an authorized transaction, Subscribe also reverses the authorization. For other processors, Subscribe simply deletes its internal to-be-captured flag so that the Transaction is no longer scheduled for capture. To determine whether Subscribe performs authorization reversal with your payment processor as a part of this call, contact your Vindicia Client Services representative.
For the Transaction objects for which this call is successful, Subscribe changes their status to Cancelled. For those transactions whose authorization Subscribe was able to reverse with the payment processors concerned, the status Void is displayed on the Subscribe Portal. However, if you fetch those transactions with a fetch call, the status in the corresponding Transaction objects is Cancelled.
Note: You may only cancel Transactions that have not yet been captured. You may refund captured transactions but not cancel them. For details on refunds, see the Refund object.
Input
srd: sparse response description, a SOAP string (which must be a JSON object), in which you specify the elements you want returned.This parameter enables the calling system to constrain amethod call to return only components you specify. This gives you greater control over returned content, and improves response time within the Vindicia platform by reducing the processing needed for the call.
Some fields are required, either practically or in the WSDL, and will be returned regardless of the srd. A null srd returns the complete response.
transactions: an array of Transaction objects to cancel.
Output
return: an object of typeReturn that indicates the success or failure of the call.
qtySuccess: the number of successful cancellations.
qtyFail: the number of failed cancellations.
results: an array of CancelResult objects that contain information on the success or failure of the call on each transaction.
The following table lists and describes the data members for the CancelResult object.

