You must apply for an ESTA even if you are only transiting the U.S. immediately on your way to another country. The U.S. government assesses a US$14 fee to apply for an ESTA. The fee can only be paid on the ESTA application website, and major credit/debit cards will be accepted (AMEX, VISA, MASTERCARD, DISCOVER CARD).