🎰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
X-Auth-Id*
String
dowinn-game-server-02
X-Auth-Key*
String
ae82c682-e993-11ed-a05b-0242ac120003
Request Body
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
X-Auth-Id*
String
X-Auth-Key*
String
Request Body
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
X-Auth-Id*
String
dowinn-game-server-02
X-Auth-Key*
String
ae82c682-e993-11ed-a05b-0242ac120003
Request Body
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
X-Auth-Id*
String
X-Auth-Key*
String
Request Body
userId*
String
currentPassword*
String
newPassword*
String
/// success
{
"data": {
"code": 20102,
"msg": "updated"
}
}
/// fail
{
"data": {
"code": 40102,
"msg": "Invalid id or password"
}
}
Last updated