CreateNewGameRequest
Client's ID. It's provided by Swipe Games and is used as your identifier.
External Client's ID (client/platform/game aggregator/integrator or casino on your side). This is provided from your side, and this is how you identify your clients. We use it in all callbacks to you.
your_ext_idGame's ID. This is Swipe Games's game identifier. See the list of supported games in Game IDs section.
sg_catch_97Session ID (external).This is your Session ID. We use it in all callbacks to you. Not required for demo games, since we don't use callbacks for demo games.
a1b2c3d4-e5f6-7890-abcd-ef1234567890Return URL which we could use to redirect the user after the game is finished/exited. If you don't provide this URL, return button in the game will be disabled. Please make sure you provide this URL when using redirect to open the game, otherwise player cannot go back to your site.
https://your-site.com/game-lobbyDeposit URL which we could use to open a deposit page for the user. If you don't provide this URL, deposit flow in the game will be disabled.
https://your-site.com/depositCurrency code in ISO4217.
USDLocale code in IETF BCP 47 format (ISO 639-1 language code with optional ISO 3166-1 country code), using underscore as separator.
en_usPlatform code. This is used to identify the platform where the game is launched.
Possible values: [desktop, mobile]
desktopDemo mode. If true, the game will be launched in demo mode (means no callbacks will be fired on your side, and we use our demo balance for the game). If false, the game will be launched in real mode.
Initial demo balance for the user (in currency units). Only used in demo mode, ignored in real mode. Must be greater than the minimum bet. Default is 10 000 USD equivalent.
10000.00user object
User information we show in the game. User should be provided for real game.
User's ID (external). This is User's ID on your side.
Country code ISO 3166-1 alpha-2.
{
"cID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"extCID": "your_ext_id",
"gameID": "sg_catch_97",
"sessionID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"returnURL": "https://your-site.com/game-lobby",
"depositURL": "https://your-site.com/deposit",
"currency": "USD",
"locale": "en_us",
"platform": "desktop",
"demo": true,
"initDemoBalance": "10000.00",
"user": {
"id": "string",
"firstName": "string",
"lastName": "string",
"nickName": "string",
"country": "string"
}
}