No, it is not right to use your friend's card to make a deposit. When making a deposit, you must use funds from your own preferred payment method, and the credit card must be yours.