The Bank of Canada did a report about this a few years back, and found that cash was the cheapest payment form for merchants to handle for transactions of up to $6 while debit cards were cheaper above that point; credit cards of course were never the best option for merchants.
https://www.bankofcanada.ca/2017/03/staff-discussion-paper-2...