πŸ–₯️
DW-CMS-SERVER
  • Welcome
  • Reference
    • API Reference
      • πŸƒGAME
      • 🎰SLOT GAME
      • ☺️AVATAR
      • πŸ’°ACCOUNT
      • πŸ–₯️TEST
      • Table Thumbnails
      • Baccarat
Powered by GitBook
On this page
  • Player Logout CallBack - DEV
  • Player Logout CallBack - PROD
  • Player password change - DEV
  • Player password change - PROD
  1. Reference
  2. API Reference

SLOT GAME

SLOT GAME API INTEGRATION

Player Logout CallBack - DEV

POST https://agentserver.dowinnsys.com/slot-api/v1/slotlogout

Buyout Player's gold and bonus money.

below X-Auth-Id and X-Auth-Key is only for dev environment. contact to admin for production credentials.

Headers

Name
Type
Description

X-Auth-Id*

String

dowinn-game-server-02

X-Auth-Key*

String

ae82c682-e993-11ed-a05b-0242ac120003

Request Body

Name
Type
Description

playerId*

String

{
    "data": {
        "code": 1,  // request fail code: 0
        "message": "ok", // request fail message: "failed"
        "playerId": "slottest001",
        "gold": 500.00,
        "bonus": 0.00
    }
}

Player Logout CallBack - PROD

POST {INQUIRE TO ADMIN}/slotlogout

Buyout Player's gold and bonus money.

for X-Auth-Id and X-Auth-Key contact to admin for production credentials.

Headers

Name
Type
Description

X-Auth-Id*

String

X-Auth-Key*

String

Request Body

Name
Type
Description

playerId*

String

{
    "data": {
        "code": 1,  // request fail code: 0
        "message": "ok", // request fail message: "failed"
        "playerId": "slottest001",
        "gold": 500.00,
        "bonus": 0.00
    }
}

Player password change - DEV

POST https://agentserver.dowinnsys.com/slot-api/v1/password-change

password change request for Slot player

Headers

Name
Type
Description

X-Auth-Id*

String

dowinn-game-server-02

X-Auth-Key*

String

ae82c682-e993-11ed-a05b-0242ac120003

Request Body

Name
Type
Description

userId*

String

currentPassword*

String

newPassword*

String


/// success
{
    "data": {
        "code": 20102,
        "msg": "updated"
    }
}

/// fail
{
    "data": {
        "code": 40102,
        "msg": "Invalid id or password"
    }
}

Player password change - PROD

POST {INQUIRE TO ADMIN}/password-change

password change request for Slot player

Headers

Name
Type
Description

X-Auth-Id*

String

X-Auth-Key*

String

Request Body

Name
Type
Description

userId*

String

currentPassword*

String

newPassword*

String

/// success
{
    "data": {
        "code": 20102,
        "msg": "updated"
    }
}

/// fail
{
    "data": {
        "code": 40102,
        "msg": "Invalid id or password"
    }
}
PreviousGAMENextAVATAR

Last updated 1 year ago

🎰