Yes. There are two ways in which you can refund your security deposit:
Earn back your deposit as a statement credit by using your card responsibly.
Refunding it after closing your account and paying your balances in full.