Yes, if excess tax is paid, you will get a refund. The government will refund the excess amount back to your bank account that is linked with your PAN, via Electronic Clearance Service (ECS).