As long as your landlord has a POS machine, you can pay the rent with a credit card. If not, you cannot pay rent with a credit card.
The advantage of paying rent with a credit card is that it is equivalent to swiping a card. You can accumulate points. Timely repayment is also good for your personal credit.
But the prerequisite for payment is that the landlord has a POS machine. However, it is rare to see such a wealthy landlord. I wish you good luck.