If the payment was created through a batch, this will not be possible. The payment will need to be deleted and re-entered.