Hi @comet52,
There isn't a difference. In QuickBooks Online (QBO), you have several options on how you record your credit card payments.
One of which, you already stated above, is to create a transfer from a bank account to a credit card account. You can continue to use the same method or choose from other alternatives in this article: Record your payments to credit cards.
On the same note, I'll share this article with you as well: How to pay a bill with a credit or debit card. It lists two sets of steps. The first is for bill payment via a credit card, and the other is through a debit card.
I'll be glad to assist if you need further help. Post a comment below, and I'll get back to you.