This is what indianrail website says : ''REFUND ON PARTIALLY USED TICKETS :
For partially used tickets where a passenger terminates his journey enroute, a ticket deposit receipt shall be issued by the station master and the ticket holder may apply for refund to the chief commercial manager (Refunds) of the concerned railway.''