Credit card charges

How shall I record credit card charge ( Sage)?

My client is vat registered and when he pays for goods with a credit card 2.5% is added to the amount payable. Say: I have got a purchase invoice for £1200 ( £1000 + vat £200) and he pays £1230. Shall I pay 1200 to a supplier to clear the ledger and then post a bank payment for £30 ( T9) to credit card charges - will it be ok?