Skip to main content

The Reward object

Parameters

PropertyTypeDescription
_idStringUnique identifier for the object.
playerIdStringThe ID of the winning player this reward is associated with.
gameIdStringThe ID of the game this reward is associated with.
transactionIdStringThe ID of transaction when reduce the spin of the player.
prizeIdStringUnique identifier for the winning slice item.
prizeNameStringThe reward's name, meant to be displayable to the player.
prizeDescriptionStringA brief description of reward.
prizeImageUrlStringThe reward's image, meant to be displayable to the player.

THE REWARD OBJECT
{
"_id": "657a864723df9fef3ec50824",
"playerId": "6565b7d4ab39206dd534f443",
"gameId": "656561c45088c7df0d07f779",
"transactionId": "657a864723df9fef3ec50822",
"prizeId": "655c82732fa20f2c9f64e040",
"prizeName": "Soup Spoon Gift Card",
"prizeDescription": "A gift card that entitles the winner to a specified amount of credit to be used towards purchasing soups from your soup company.",
"prizeImageUrl": "https://masterbranch-resources.s3.ap-southeast-1.amazonaws.com/65655d0cda0bdbd0ca341350/Frame-1-1701160743086.png",
"createdAt": "2023-12-14T04:36:23.985Z",
"updatedAt": "2023-12-14T04:36:23.985Z"
}