In case of borrowing, only the lending fee is levied upfront as margin. In the case of lending, 25% of the lending price (T-1 cash market closing price) and Mark to market (MTM) at the end of day are charged to the lender. These margins are not applicable to the lender in case the lender does Early Pay-in of securities.