code: def reward_bonus(self, assignment_id, amount, reason):
          
          try:
              return self.mturkservice.grant_bonus(assignment_id, amount, reason)
          except MTurkServiceException as ex:
              logger.exception(str(ex))
docs: Reward the Turker for a specified assignment with a bonus.