POST /cancelfreegameto cancel the freespinID free spin bonus to a specific player on a specific game. If player already started the free spin bonus, iGamingAce can’t cancel it.
Endpoint
https://api.igamingace.com with the base URL provided to you by iGamingAce.
Request Headers
| Name | Value | Example |
|---|---|---|
| Authorization | Bearer Token (apitoken) | Authorization: Bearer 4ca8890730e64aa69bd168eb8a3f374c |
| Accept | application/json | Accept: application/json |
| Content-Type | application/json | Content-Type: application/json |
Request Parameters
| Parameter | Description | Format | Example |
|---|---|---|---|
| agentID | ID of agent, Identification of Licensee | string | agent01 |
| userID | Player ID, Alphanumeric characters, minimum length 4, maximum length 48. | string(4-48) | player01 |
| gameID | game id | integer | 1566 |
| freespinID | identifier of the free spin, this will be used in the callbacks later | string(1-36) | freespin150 |
Response
| Parameter | Description | Format | Example |
|---|---|---|---|
| code | Result codes | integer | 0 |
| message | Description of the error, this field can be empty when success | string(256) | General Error |