Depositing a sum with a grocer so that one's children can take their daily needs from him and the grocer can deduct the price from the deposit

A: There is nothing wrong with doing so, because you just give him a sum of money as a trust entitling him to deduct from it the price of anything your children buy.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.