Probably not applicable to excess baggage, but Italy has enacted a law on cash transactions making it illegal to pay cash for anything over EUR1,000. Spain has a similar law with a EUR2.5k limit, and there are rumours that France is also considering similar legislation, so yes I believe that in some circumstances, airlines can not only refuse to accept cash, but are actually prohibited from accepting cash by law.