The Reward object
Parameters
| Property | Type | Description |
|---|---|---|
_id | String | Unique identifier for the object. |
playerId | String | The ID of the winning player this reward is associated with. |
gameId | String | The ID of the game this reward is associated with. |
transactionId | String | The ID of transaction when reduce the spin of the player. |
prizeId | String | Unique identifier for the winning slice item. |
prizeName | String | The reward's name, meant to be displayable to the player. |
prizeDescription | String | A brief description of reward. |
prizeImageUrl | String | The 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"
}