It's a requirement to give your credit card number at the time of booking, in order to safe-guard your reservation. They normally don't do anything until you actually arrive at the place. However if you cancel after the deadline, they would charge the penalty on your card.
There are risks associated with practically everything.