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.
Headers
-
Signature
string Required -
Public-Key
string Required
Body
Required
-
brandId
string Required Brand ID of the operator
-
campaignId
string Required Campaign ID
-
playerId
string Required Player ID
-
status
string Required 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 \
--request POST 'BASE_URL/free-spins-campaigns/status-update' \
--header "Content-Type: application/json" \
--header "Signature: string" \
--header "Public-Key: string" \
--data '{"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"
}