The short answer
Understand the system before choosing an action.
Credit-card interest is generally the cost charged when applicable balances remain unpaid under the account agreement. The calculation may involve an annual percentage rate, a periodic rate, an average daily balance or other stated method, transaction categories, grace-period rules, and the timing of payments and credits.
Financial Learning Cafe explains the subject. Your current agreement, official sources, facts, jurisdiction, and appropriately qualified professionals control the decision.