Get Brands
curl --request GET \
--url https://ss.game-services.work/platform/api/brands \
--header 'Authorization: Bearer <token>'import requests
url = "https://ss.game-services.work/platform/api/brands"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://ss.game-services.work/platform/api/brands', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ss.game-services.work/platform/api/brands",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://ss.game-services.work/platform/api/brands"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ss.game-services.work/platform/api/brands")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ss.game-services.work/platform/api/brands")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyGET /platform/api/brands
Authorization: Bearer your_token_here
{
"brands": [
{
"uuid": "b12c4e5f-7890",
"name": "Example Brand",
"maxWin": "10000000",
"payout": "95",
"betTemplateUuid": "6666-aaaa",
"jackpotGroup": {
"uuid": "jp-001",
"name": "Europe Jackpot",
"currency": "EUR"
},
"apiKey": "rgs_key_example",
"accessToken": "access_token_example",
"server": "https://wallet.example.com",
"header": "Bearer wallet_token_example"
}
]
}
RGS API
Get Brands
Retrieve a list of operator brands.
Get Brands
curl --request GET \
--url https://ss.game-services.work/platform/api/brands \
--header 'Authorization: Bearer <token>'import requests
url = "https://ss.game-services.work/platform/api/brands"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://ss.game-services.work/platform/api/brands', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ss.game-services.work/platform/api/brands",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://ss.game-services.work/platform/api/brands"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ss.game-services.work/platform/api/brands")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ss.game-services.work/platform/api/brands")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyGET /platform/api/brands
Authorization: Bearer your_token_here
{
"brands": [
{
"uuid": "b12c4e5f-7890",
"name": "Example Brand",
"maxWin": "10000000",
"payout": "95",
"betTemplateUuid": "6666-aaaa",
"jackpotGroup": {
"uuid": "jp-001",
"name": "Europe Jackpot",
"currency": "EUR"
},
"apiKey": "rgs_key_example",
"accessToken": "access_token_example",
"server": "https://wallet.example.com",
"header": "Bearer wallet_token_example"
}
]
}
GET /platform/api/brands
Headers
| Name | Type | Description |
|---|---|---|
| Authorization | string | Bearer token authorization header (format: Bearer your_token_here) |
Response Parameters
| Name | Type | Description |
|---|---|---|
| brands | array | List of brand objects |
| Name | Type | Description |
|---|---|---|
| uuid | string | Unique identifier of the brand |
| name | string | Brand name |
| maxWin | string | Maximum win limit for brand players |
| payout | string | Brand payout percentage |
| betTemplateUuid | string | Associated bet template identifier |
| jackpotGroup | object | Associated jackpot group information |
| accessToken | string | Brand access token |
| apiKey | string | Public RGS API access key |
| server | string | Wallet server URL |
| header | string | Authentication header for wallet requests |
GET /platform/api/brands
Authorization: Bearer your_token_here
{
"brands": [
{
"uuid": "b12c4e5f-7890",
"name": "Example Brand",
"maxWin": "10000000",
"payout": "95",
"betTemplateUuid": "6666-aaaa",
"jackpotGroup": {
"uuid": "jp-001",
"name": "Europe Jackpot",
"currency": "EUR"
},
"apiKey": "rgs_key_example",
"accessToken": "access_token_example",
"server": "https://wallet.example.com",
"header": "Bearer wallet_token_example"
}
]
}
Possible Errors
| messageKey | message |
|---|---|
| error.operator.uuid.not.found | Operator not found by uuid=[$uuid] |
| error.user.no.access.operator | User[uuid = $userUuid] has no access to Operator[uuid = $operatorUuid] |
⌘I