Close event
Request
URI: /closeEvent
Example usage: https://{callback_url}/closeEvent
The request is executed using the POST
method.
This method is used to notify the platform about closed events in games.
note
closeEvent is used by all providers except Spribe.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
eventId | string | Yes | Event that should be closed |
userId | string | Yes | User identifier |
token | string | Yes | Current user token |
gameId | integer | Yes | Identifier of the game where the event occurred |
Example of request parameters
Response: /closeEvent
{
"eventId": "1234",
"userId": "3234",
"token": "XXXXXXXXXX",
"gameId": 1018786
}
Response parameters
Name | Type | Required | Description |
---|---|---|---|
status | boolean | Yes | Response status |
Example of a successful response
Response: /closeEvent
{
"status": true
}