Module Values.SendBonusResponseSource

The SendBonus operation issues a payment of money from your account to a Worker. This payment happens separately from the reward you pay to the Worker when you approve the Worker's assignment. The SendBonus operation requires the Worker's ID and the assignment ID as parameters to initiate payment of the bonus. You must include a message that explains the reason for the bonus payment, as the Worker may not be expecting the payment. Amazon Mechanical Turk collects a fee for bonus payments, similar to the HIT listing fee. This operation fails if your account does not have enough funds to pay for both the bonus and the fees.

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `RequestError of RequestError.t
  2. | `ServiceFault of ServiceFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `RequestError of RequestError.t | `ServiceFault of ServiceFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `RequestError of RequestError.t | `ServiceFault of ServiceFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t