Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"orderId": 123,
"delivered": true,
"credits": 123,
"creditsFormatted": "<string>"
},
"message": "<string>"
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "..."
}
}Gaming Night
Buy with credits
Atomic (credit + stock locked). Delivered to the chest when the chest module is on, otherwise sent to the game server. The response carries credits / creditsFormatted (the new balance): update your credit state with them.
POST
/
gaming-night
/
products
/
{id}
/
buy
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"orderId": 123,
"delivered": true,
"credits": 123,
"creditsFormatted": "<string>"
},
"message": "<string>"
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "..."
}
}