SendBonusRequest is a JSON Structure definition published by Amazon Mechanical Turk, describing 5 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mechanical-turk/refs/heads/main/json-structure/amazon-mechanical-turk-send-bonus-request-structure.json",
"name": "SendBonusRequest",
"description": "SendBonusRequest schema from Amazon Mechanical Turk API",
"type": "object",
"properties": {
"WorkerId": {
"allOf": [
{
"$ref": "#/components/schemas/CustomerId"
},
{
"description": "The ID of the Worker being paid the bonus."
}
]
},
"BonusAmount": {
"allOf": [
{
"$ref": "#/components/schemas/CurrencyAmount"
},
{
"description": " The Bonus amount is a US Dollar amount specified using a string (for example, \"5\" represents $5.00 USD and \"101.42\" represents $101.42 USD). Do not include currency symbols or currency codes. "
}
]
},
"AssignmentId": {
"allOf": [
{
"$ref": "#/components/schemas/EntityId"
},
{
"description": "The ID of the assignment for which this bonus is paid."
}
]
},
"Reason": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message."
}
]
},
"UniqueRequestToken": {
"allOf": [
{
"$ref": "#/components/schemas/IdempotencyToken"
},
{
"description": "A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID."
}
]
}
},
"required": [
"WorkerId",
"BonusAmount",
"AssignmentId",
"Reason"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.