NetgamingLogo

CancelBonus() API

This API request enables the operator to cancel the awarded bonus free spins (promotional free spins).

POST   /more/cancel-promotion/

JSON

Content-Type: application/json
Host: https://test-api.netgaming.com/v1/
{
   "api_key": "1pghjl4v5apt2bks",
"promo_freespin_id": "qwertyuiopasdfghjk"
}

 

Parameters Type Description
api_key String API Key allocated to each frontend
promo_freespin_id String The promo_freespins_id ID that would be returned in grantbonus() API response, same id should be sent here.
Response Example
{
    "result": {
        "status": "success",
"campaign_id": "test_hgfd_123",
       "promo_freespins_id": "test_of1"
    }
}

 

Parameters Type Description
result JSON Object The key result contains the JSON object as value
result.status String indicates response status
result.campaign_id String Id belongs to respective campaign for cancelation.
result.promo_freespin_id String Unique ID of campaign record at providers end