You can't repay the mortgage with a credit card. If you have to use a credit card, you can only repay it by withdrawing cash.
in general, the repayment account of mortgage can only be a debit card account, and the credit card cannot be bound to repayment, so you can only withdraw cash and deposit it in the repayment card.