Credit card surcharge

Hi. Is there a way to add a surcharge to an invoice when paying by credit card? I have an option of EFT as well but some like to use a credit card. Thanks