How to set Redeem Limits in POS

I want to set redeem limit as 50% of grand total. Currently we can redeem full amount in loyalty, I dont want that I want to set redeem amount 50% of total invoice.