Skip to main content
Create Brand
curl --request POST \
  --url https://ss.game-services.work/platform/api/brands \
  --header 'Authorization: Bearer <token>'
POST /platform/api/brands
Content-Type: application/json
Authorization: Bearer your_token_here
{
    "name": "New Brand",
    "maxWin": 1000000,
    "payout": 96,
    "apiKey": "rgs_key_example",
    "betTemplateUuid": "bt-001",
    "jackpotGroupUuid": "jp-001",
    "server": "https://wallet.example.com",
    "authHeader": "Bearer wallet_token_example"
}
POST /platform/api/brands
  • List of the betTemplateUuid’s are available in the overview page.
  • How to get available jackpotGroupUuid’s can be found in the Get Jackpot Groups page.

Headers

NameTypeDescription
AuthorizationstringBearer token authorization header (format: Bearer your_token_here)

Request Parameters

NameTypeRequiredDescription
namestringYesBrand name
maxWinnumberNoMaximum win limit for brand players
payoutnumberNoBrand payout percentage
apiKeystringYesPublic RGS API access key
betTemplateUuidstringYesBet template identifier
jackpotGroupUuidstringYesJackpot group identifier
serverstringYesWallet server URL
authHeaderstringYesAuthentication token for wallet requests

Response Parameters

NameTypeDescription
brandobjectCreated brand object
POST /platform/api/brands
Content-Type: application/json
Authorization: Bearer your_token_here
{
    "name": "New Brand",
    "maxWin": 1000000,
    "payout": 96,
    "apiKey": "rgs_key_example",
    "betTemplateUuid": "bt-001",
    "jackpotGroupUuid": "jp-001",
    "server": "https://wallet.example.com",
    "authHeader": "Bearer wallet_token_example"
}

Error

If an error occurs while processing a request, the API will return a response with HTTP Status Code: 400 Bad Request
NameTypeDescription
messagestringError code describing the specific issue.
GET /platform/api/brands
Content-Type: application/json
{
    "name": "name",
    "maxWin": "1000000",
    "payout": "96",
    "apiKey": "apiKey",
    "betTemplateUuid": "betTemplateUuid",
    "jackpotGroupUuid": "jackpotGroupUuid",
    "server": "walletServer",
    "authHeader": "walletAuthHeader"
}

Possible Errors

messageKeymessage
error.brand.already.existsBrand with name = [$name] already exists
error.brand.api.key.already.existsBrand with api key = [$apiKey] already exists
error.bet.template.not.foundBet template not found by uuid=$uuid
error.operator.uuid.not.foundOperator not found by uuid=[$uuid]
error.jackpot.group.uuid.not.foundJackpot group not found by uuid=[$uuid]
error.user.no.access.operatorUser[uuid = $userUuid] has no access to Operator[uuid = $operatorUuid]
I