Free Spins Campaign Status Update
Free Spins Campaign Status Update. Only DECLINED status callbacks will be sent.The endpoint should be implemented by the operator to receive the status of the free spins campaign.
Body Required
-
Brand ID of the operator
-
Campaign ID
-
Player ID
-
Current status for the player campaign
Format should match the following pattern:
^(?!\s*$).+
. Values areDRAFT
,READY
,ACTIVE
,EXPIRED
,FAILED
,CANCELLED
, orDECLINED
.
POST
/free-spins-campaigns/status-update
curl \
-X POST BASE_URL/free-spins-campaigns/status-update \
-H "Content-Type: application/json" \
-H "Signature: string" \
-H "Public-Key: string" \
-d '{"brandId":"string","campaignId":"string","playerId":"string","status":"DRAFT"}'
Request examples
# Headers
Signature: string
Public-Key: string
# Payload
{
"brandId": "string",
"campaignId": "string",
"playerId": "string",
"status": "DRAFT"
}
Response examples (200)
{}
Response examples (400)
{
"code": "ERROR_UNKNOWN_ERROR",
"description": "string",
"traceId": "string"
}
Response examples (401)
{
"code": "ERROR_INVALID_SIGNATURE",
"description": "string",
"traceId": "string"
}
Response examples (500)
{
"code": "ERROR_UNKNOWN_ERROR",
"description": "string",
"traceId": "string"
}