Yes, you're right. When a charge is made, your credit card account balance should increase.
You'd want to compare the transactions on your credit card records to what was entered in QuickBooks Online (QBO). Also, you'd want to review how your payments are recorded.
There are a few ways on how to record credit card payments in QBO, such as using the Pay down a credit card option, creating a Transfer, and writing a Check. Consider checking out this article for the detailed steps on how: Record your payments to credit cards.
Reach out to me in the comment section below if you have any additional questions. I want to make sure everything is taken care of for you. I'll be here to assist. Have a good one!