Share pledging on zerodha

After pledging of shares did I earn profit for the same also my haircut will be refunded or not

The value of your collateral margin changes depending on the variations in price of the security on end of the day basis. For example, if the price of shares you have pledged increases, the amount of collateral margin you get will increase.

Likewise, if the price drops, the collateral margin will reduce.

Also, once you unpledge or sell the shares, you will get the entire value, that is Quantity * Price. You can learn more about how pledging works here: