Launch Game

POST https://meiyunyunapi.com/gambling_api/game_launch

Request Ex:

{
    "agent_code": "YOUR_AGENT_CODE",
    "agent_token": "YOUR_AGENT_TOKEN",
    "user_code": "test", // If the user pointed out by user_code does not exist, it is newly created.
    "game_type": "slot",
    "provider_code": "PRAGMATIC",
    "game_code": "vs20doghouse",
    "lang": "en",
    "deposit_amount": 1000 // [Optional] If there is a value for deposit_amount, charge the amount and get the game execution URL.
}

Response Ex:

// Success: 
{    
     "status": 1,
     "msg": "SUCCESS",
     "launch_url": "http://kgame-tw1.pplaygame.net/...",
     "agent_code": "meiyun",
     "agent_balance": 100000,
     "agent_type": "Transfer",
     "user_code": "test",
     "user_balance": 1000,
     "user_created": true,
     "user_deposit": true,
     "currency": "USD",
     "lang": "en" 
}

// Failure:
{
    "status": 0,
    "msg": "INVALID_PROVIDER"
}

Last updated