20th century colloquialisms
This was my take on why Spock didn't understand "exact change." If the request was for "exact monetary amount for fare" or something similar, then Spock likely wouldn't have been confused.
I certainly don't take Spock confusion as a indicator that the 23rd (or 24th) century don't engage in monetary value exchanges for purchases.
No physical money though? No problem.