The are paid on the GS salary scale. Examiners have a quota of "counts" where each count corresponds to some action they take during examination.
It doesn't make any difference to them if they allow or reject patents. The more rounds of prosecution it takes means more counts for the examiner. Each round after the first requires additional fees from the applicant.