Finally, we meet..
You are that parent who allows their child to have a pet, who undoubtedly tells their child they MUST be responsible for their pet, look after it, meet its needs, not get bored...
And then you prevent your child from doing exactly that, because you are the adult and you know best and you don't value that animals life because it only cost a few quid to buy and only lasts a year or two.
I am the person on the internet forum, on the facebook group, who your child comes to, to ask for help.
I am the person who spends their time trying to come up with solutions that meet the pets needs, encourages the childs desire to look after their animal responsibly, and also work around your unreasonable behaviour.
So maybe your kid hasn't gone online to ask, but this is what I am faced with on a daily basis, moderating animal care forums.
Kids, breaking their hearts trying to care for animals that parents allowed them to get, but now refuse to actually permit them to do what they have been told they must do, and those of us trying to help them are powerless and what we WANT to say to their parents, we cannot say.
Buy the hamster a suitable home.
Apologise to your child for your behaviour, it IS unreasonable and deeply unfair.