Create a new brand configuration.
POST /platform/api/brands
| Name | Type | Description |
|---|---|---|
| Authorization | string | Bearer token authorization header (format: Bearer your_token_here) |
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Brand name |
| maxWin | number | No | Maximum win limit for brand players |
| payout | number | No | Brand payout percentage |
| apiKey | string | Yes | Public RGS API access key |
| betTemplateUuid | string | Yes | Bet template identifier |
| jackpotGroupUuid | string | Yes | Jackpot group identifier |
| server | string | Yes | Wallet server URL |
| authHeader | string | Yes | Authentication token for wallet requests |
| Name | Type | Description |
|---|---|---|
| brand | object | Created brand object |
HTTP Status Code: 400 Bad Request| Name | Type | Description |
|---|---|---|
| message | string | Error code describing the specific issue. |
| messageKey | message |
|---|---|
| error.brand.already.exists | Brand with name = [$name] already exists |
| error.brand.api.key.already.exists | Brand with api key = [$apiKey] already exists |
| error.bet.template.not.found | Bet template not found by uuid=$uuid |
| error.operator.uuid.not.found | Operator not found by uuid=[$uuid] |
| error.jackpot.group.uuid.not.found | Jackpot group not found by uuid=[$uuid] |
| error.user.no.access.operator | User[uuid = $userUuid] has no access to Operator[uuid = $operatorUuid] |