This depends on where you live. If you reside in the UK, then you are not permitted to use a credit card to fund a casino balance. Rules are different for other parts of the world.