My experience with Hotels.com has been the same as you described with Agoda - any time I’ve booked a refundable or pay-at-the-hotel reservation and canceled before the deadline, I’ve received a full refund (or not been charged in case of a non-prepaid booking).