This also assumes that;
a) The realestate agent has a credit card facility to charge you with.
and if they do
b) They are willing to do it considering the processing fee for the credit card transactions would cut out half or more of their 2% commission. Unless you volunteer to pay the extra...