This is up to you. Since the guest can deposit the security deposit at check-in in cash, by credit card or EC card, the payment method is up to you. From experience, many accommodations ask for the guest's account details at check-out, so that the security deposit can be transferred back to the guest after checking the room.