This is a very common saying and is used interchangeably with the equally offensive “gyp”.
He could just as easily have said “they might have gypped me on a price”.
I think the only difference is that if he had, almost no one would have pointed it out.