Coffee shop only accepts Venmo as payment. Is it legal to NOT accept cash?

JetBlue has free WiFi but United charges for it.

It’s probably not a bandwidth issue but I have no idea what it is.