Free Spins Campaign Status Update

POST /free-spins-campaigns/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
application/json

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 are DRAFT, READY, ACTIVE, EXPIRED, FAILED, CANCELLED, or DECLINED.

Responses

  • 200 application/json

    Successful response

  • 400 application/json

    Request could not be processed

    Hide response attributes Show response attributes object
    • code string

      Values are ERROR_UNKNOWN_ERROR, ERROR_BAD_REQUEST, ERROR_BAD_REQUEST_PLAYER_BLOCKED, ERROR_INVALID_SESSION, ERROR_SESSION_EXPIRED, ERROR_TRANSACTION_DUPLICATE, ERROR_TRANSACTION_WITHDRAW_NOT_FOUND, ERROR_TRANSACTION_INSUFFICIENT_FUNDS, ERROR_TRANSACTION_LIMIT_EXCEEDED, ERROR_TRANSACTION_REALITY_CHECK, ERROR_TRANSACTION_NOT_FOUND, ERROR_ROLLBACK_TRANSACTION_NOT_FOUND, ERROR_GAME_NOT_ACTIVE, or ERROR_BRAND_NOT_ACTIVE.

    • description string

      Message describing the error

    • traceId string

      Internal ID to trace the request when debugging

  • 401 application/json

    Request public key or signature is missing or invalid

    Hide response attributes Show response attributes object
    • code string

      Value is ERROR_INVALID_SIGNATURE.

    • description string

      Message describing the error

    • traceId string

      Internal ID to trace the request when debugging

  • 500 application/json

    Internal error / Unknown error

    Hide response attributes Show response attributes object
    • code string

      Values are ERROR_UNKNOWN_ERROR or ERROR_TIMEOUT.

    • description string

      Message describing the error

    • traceId string

      Internal ID to trace the request when debugging

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"
}