Bank credit cards offering cash??

I’m intrigued as to why my banks credit card has offered me (by email and sms, each month for the last 3 months) my remaining credit card balance to be withdrawn as cash for an upfront 2.49% fee.

Is this legal, it’s certainly unethical. It’s also dangerous if the wrong person takes up the offer.

In what instance could this ever be a positive decision.

I am not after advice on this as I would never consider using a credit card to release funds, but in some peoples hands I can see that a rate like this and actively managing their credit card People could treat this like a margin loan as opposed to the dangerous credit product that it is.