The new rule, which will start on 1 October, promises hefty fines and aggressive enforcement for violators. Companies that do not provide a simple way to cancel could pay $525 per user subscription, back fees and additional fines.

The city is also targeting so-called “junk fees” that raise the final price of everything from apartments to sporting events, with a proposed rule that requires sellers to “advertise the total price for any good or service, including all mandatory additional charges and fees, up front”, according to a release shared with the Guardian.

New York would be the first US city to implement such a ban.