Everyone does things a bit differently, but generally by wire or electronic transfer.
Some companies do take credit cards.
H2O Luxury Yachts takes credit cards for the first 50% of the fee happily.
Your first deposit is due to confirm the charter, the balance is paid up to 60 days in advance depending on the type of charter.