> In the USA
Hold up.. This not only varies by state, but by county and city. Some places have this built in to special assessments on property taxes, some contract with a trash company that collects fees directly, and some are a bit of a free for all with multiple trash companies providing pickup and or/dumpster service (this is more common in rural areas).
I had a place up in the mountains where we had to buy special $6 trash bags and haul it to a central dumpster ourselves, and there are those in large cities who have to deal with mob-run collection companies who bribe local politicians for monopoly rights.
TLDR; To generalize "In the USA" for something like this is impossible.