Skip to Content

Casinos

Returns your casinos and their settings, as you see them in the admin panel.

Request

[GET] {PROVIDER_URL}/v2/casinos [GET] {PROVIDER_URL}/v2/casinos?casino_id={casino_id}
ParameterTypeRequiredDescription
casino_idintegernoreturn only this casino

Without casino_id, every casino of your account is returned whose IP allow-list contains the calling IP. When none does, the call is answered with HTTP 403.

Response

Successful response will be returned as a json object.

{ "casinos": [ { "id": 1000, "name": "examplecasino", "url": "https://casino.example.com", "callback_url": "https://wallet.example.com/callback", "ip_whitelist": ["203.0.113.10"], "type": "Production", "status": "Active", "api_version": "V2", "batch_update": true, "transaction_log": false, "callback_auth": "Signed POST (JSON body)", "callback_secret": "abc******xyz", "callback_secret_rotated_at": "2026-10-20 09:00:00", "created_at": "2024-10-16 14:02:12", "account": { "user_id": 1, "username": "example", "email": "it@casino.example.com", "auth_key": "Z-B******tYJ" } } ] }

Casino object

FieldTypeDescription
idintegeryour CASINO_ID
namestringcasino name
urlstringcasino URL, the default return_url of Game launch
callback_urlstringyour WALLET_URL
ip_whitelistarrayIPs allowed to call PROVIDER_URL for this casino
typestringe.g. Production
statusstringe.g. Active
api_versionstringAPI version the casino is set up for
batch_updatebooleanbatch game list updates enabled
transaction_logbooleantrue when Transactions can be read for this casino
callback_authstringhow wallet callbacks are authenticated
callback_secretstring | nullyour CALLBACK_SECRET, masked. null when none is set, unreadable when it cannot be shown
callback_secret_rotated_atstring | nulllast change of CALLBACK_SECRET, UTC
created_atstring | nullwhen the casino was set up, UTC
accountobjectthe account the casino belongs to: user_id, username, email and auth_key (your AUTH_TOKEN, masked)

Secrets are never returned in full: only their first and last 3 characters are shown, enough to tell which one is configured. Times are Y-m-d H:i:s in UTC.

Last updated on