Care homes and personal money

Do care homes have accounts you can top up for them to buy toiletries, personal things as needed? Or do you have to leave cash? Or can they use the person’s bank card?

My mum’s home had a cashless policy. Invoiced mum/me for all purchases during the month, at the end of the month. Worked well.