operator API / Catalogue
Read the tenant's active game configuration and approved choices
GET
/api/v1/operator/games/{code}/configAuthentication
X-Spilvon-Operator + X-Spilvon-Timestamp + X-Spilvon-Signature
Parameters
codepath · required- { "type": "string", "pattern": "^[a-z0-9-]{1,32}$" }
Responses
200 Stake limits before player/age-specific jurisdiction caps. Candidates are i
Stake limits before player/age-specific jurisdiction caps. Candidates are informational only.
application/json
game_codestring · requiredversioninteger · requiredsettingsobject · requiredeffective_enabledbooleanrequires_approvalboolean · requiredeffective_forschema · requiredavailable_variantsarray · requiredmath_candidatesarray · requiredcurrency_limitsarray · requiredjurisdictionsarray · required
Schema (resolved)
JSON Schema
{
"type": "object",
"required": [
"game_code",
"version",
"settings",
"available_variants",
"math_candidates",
"currency_limits",
"jurisdictions",
"requires_approval",
"effective_for"
],
"properties": {
"game_code": {
"type": "string"
},
"version": {
"type": "integer",
"minimum": 0
},
"settings": {
"type": "object",
"additionalProperties": false,
"required": [
"variant_id",
"enabled",
"feature_buy",
"pool_jackpots",
"currencies"
],
"properties": {
"variant_id": {
"type": "string",
"description": "Exact id from available_variants."
},
"enabled": {
"type": "boolean"
},
"feature_buy": {
"type": "string",
"enum": [
"inherit",
"off"
]
},
"pool_jackpots": {
"type": "string",
"enum": [
"inherit",
"off"
]
},
"currencies": {
"type": "object",
"propertyNames": {
"pattern": "^[A-Za-z0-9]{2,8}$"
},
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"min_bet": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
},
"max_bet": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
},
"max_win": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
}
}
}
}
}
},
"effective_enabled": {
"type": "boolean"
},
"requires_approval": {
"type": "boolean"
},
"effective_for": {
"const": "new_sessions"
},
"available_variants": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"rtp",
"rtp_bps",
"max_win_x",
"volatility",
"certified",
"certificates",
"math_sha256"
],
"properties": {
"id": {
"type": "string"
},
"rtp": {
"type": "string",
"description": "Published percent to two decimals."
},
"rtp_bps": {
"type": "integer",
"description": "Return",
"not edge. 9400 means 94 percent.": null
},
"max_win_x": {
"type": [
"number",
"null"
]
},
"volatility": {
"type": [
"string",
"null"
]
},
"certified": {
"type": "boolean"
},
"math_sha256": {
"type": "string"
},
"certificates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jurisdiction": {
"type": "string"
},
"lab": {
"type": "string"
},
"certificate": {
"type": "string"
},
"min_return_bps": {
"type": [
"integer",
"null"
]
}
}
}
}
}
}
},
"math_candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"rtp",
"rtp_bps",
"max_win_x",
"volatility",
"certified",
"certificates",
"math_sha256"
],
"properties": {
"id": {
"type": "string"
},
"rtp": {
"type": "string",
"description": "Published percent to two decimals."
},
"rtp_bps": {
"type": "integer",
"description": "Return",
"not edge. 9400 means 94 percent.": null
},
"max_win_x": {
"type": [
"number",
"null"
]
},
"volatility": {
"type": [
"string",
"null"
]
},
"certified": {
"type": "boolean"
},
"math_sha256": {
"type": "string"
},
"certificates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"jurisdiction": {
"type": "string"
},
"lab": {
"type": "string"
},
"certificate": {
"type": "string"
},
"min_return_bps": {
"type": [
"integer",
"null"
]
}
}
}
}
}
}
},
"currency_limits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"min_bet": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
},
"max_bet": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
},
"max_win": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
},
"stake_step": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,17})(\\.[0-9]{1,8})?$"
}
}
}
},
"jurisdictions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"min_rtp_bps": {
"type": "integer"
}
}
}
}
}
}401 Invalid signature
Invalid signature
403 Operator suspended or IP not allowed.
Operator suspended or IP not allowed.
404 Unknown game.
Unknown game.
429 Rate limited.
Rate limited.
Request signing samples
Canonical string and HMAC helpers from the downloadable samples. Wallet callbacks may also use Ed25519; see the wallet signing modes.
Node.js node/spilvon.mjs
Node.js
export const signingString = (ts, method, pathAndQuery, body) => `${ts}.${method.toUpperCase()}.${pathAndQuery}.${body}`;
export const hmacHex = (secret, s) => createHmac("sha256", secret).update(s, "utf8").digest("hex");Python python/spilvon.py
Python
def signing_string(ts: str, method: str, path_and_query: str, body: str) -> str:
return f"{ts}.{method.upper()}.{path_and_query}.{body}"
def hmac_hex(secret: str, s: str) -> str:
return hmac.new(secret.encode(), s.encode("utf-8"), hashlib.sha256).hexdigest()Go go/main.go
Go
func signingString(ts, method, pathAndQuery, body string) string {
return ts + "." + strings.ToUpper(method) + "." + pathAndQuery + "." + body
}
func hmacHex(secret, s string) string {
m := hmac.New(sha256.New, []byte(secret))
m.Write([]byte(s))
return hex.EncodeToString(m.Sum(nil))
}PHP php/spilvon.php
PHP
function signing_string(string $ts, string $method, string $pathAndQuery, string $body): string {
return $ts . '.' . strtoupper($method) . '.' . $pathAndQuery . '.' . $body;
}
function hmac_hex(string $secret, string $s): string {
return hash_hmac('sha256', $s, $secret);
}Reviewed, not executed by the sample authors.