If you need to do a refund on an iPayment CC charge after a Deposit has been done in SAP, you will get the following message:
-10 Cannot cancel; one of the credit vouchers was manually canceled, endorsed, or deposited
It will ask to continue anyways and if you click YES- this message will appear
iPayment will do the Refund ( see below) but the Incoming payment is not canceled due to SAP procedure.
You have to manually cancel the Deposit the incoming Payment using SAP functionality.