This is something that is normally built into the payment module itself. Some of the SagePay mods for example can add a credit surcharge. However, there's nothing like this built into COD.