Dec. 11 (UPI) — Uber charged a Toronto man more than $18,000 for a 5-mile ride that should have cost about $10 Friday after an error during surge pricing.

Instagram user votethehish posted the receipt for his ride for the amount of $18,518 in Canadian currency, which comes out to $14,412 in U.S. dollars.

According to votethehish’s friend, Emily Kannard, Uber said they wouldn’t give a refund. But Kannard posted the receipt on Twitter and caught some interest, including from news sites like The Comeback and Slate.

Uber then acknowledged that a mistake was made.

“There was an error here and it has been resolved,” Uber said in a statement. “We have provided a full refund to this rider and apologized to him for this experience. We have safeguards in place to help prevent something like this from happening, and we are working to understand how this occurred.”