To remove a payment from an invoice open the Invoice.
Scroll to the bottom and locate the Payments tab
Locate the payment and Select 'Delete'.
Confirm your Action, Select 'Delete'.
Depending on the action the Balance of the Invoice will adjust by the payment amount reversed.
If the payment was taken by eWay you can refer to the Help document here.