You get EXP and credits based on how much damage you did, how many enemy tanks you spotted which were subsequently destroyed by a teammate and how many flag capture points you got on the enemy flag or blocked on your own flag.
You do not get rewarded just for killing dudes