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 come on all providers except Spribe.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
eventId | string | Yes | Event that should to be closed |
userId | string | Yes | User identifier |
token | string | Yes | Current user token |
gameId | integer | Yes | Identifier of the game where the event has occured |
Example of a 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
}