Your credit card is linked to an account in someone else's books. They opened that credit account for you.
Debits come in to an entity, credits go out.
> That is the complete opposite of common usage.
Nah, it's exactly the usage you are used to from statements you get.
> When I get a credit on my credit card statement, it means money is coming in to me.
When you get a credit card statement, it's a statement of the portion of your account in the card issuer’s books.
If you were keeping books for the card, they would be mirror images of the bank’s books.
Your credit card account is an asset from Visa’s POV. And a liability from your POV.
When Visa refunds that fee, it reduces their asset. And on your books, it reduces your liability.
A debit on your books is a credit on the counterparty’s books. A plus on your books is a minus on the counterparty’s books.
That is the complete opposite of common usage. When I get a credit on my credit card statement, it means money is coming in to me. When I get a debit on my debit card, it means money is going out from me. It's not rocket science, or at least it shouldn't be. And yet somehow accountants have managed to turn it into something even more confusing.