You have to be paid for all the work you did, as per the rate or agreement you were working pursuant to. Your employer cannot simply decide to pay you less; if you did work for  which you should have been paid $500, then you must be paid $500, and may sue (such as in small claims court) to recover the money if you are not.