That was the honourable thing to do. Had you refused he would have turned hostile and a few more enemies would appear. You get the same reputation bonus either way; refusing to pay results in a tough fight, though gives more experience points.