basically W=Fxd
If the charged particle is moving then the magnetic field will change the velocity of the particle. That requires force. For what distance is the force applied. d = V x (delta t) assumind the velocity does not change. I would say that there is work done.