開始遊戲(SPIN)
Developing
POST
/c/game/spin
Game
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/c/game/spin?token' \
--header 'Content-Type: application/json' \
--data-raw '{
"visibilityChange": 0,
"bet": 200,
"currencyRatio": 100
}'
Response Response Example
200 - Example 1
{
"player": {
"playerId": "string",
"account": "string",
"curreny": "string",
"symbol": "string",
"balance": "string",
"entries": "string",
"winning": "string",
"revert": "string",
"revertComp": "string"
},
"historyResult": "string",
"status": "string",
"spinData": {
"reelStartPos": [
11,
56,
82,
87,
96
],
"reelStopPos": [
17,
12,
19,
4,
26
],
"reelIndex": [
3,
3,
3,
3,
3
],
"reelMode": [
0,
0,
0,
0,
0
],
"reelShowIndex": [
0,
0,
0,
0,
0
],
"reelShowMode": [
0,
0,
0,
0,
0
],
"currentRollTop": [
11,
4,
5,
11,
10
],
"currentRoll": [
7,
7,
4,
6,
7,
12,
8,
10,
10,
5,
4,
4,
5,
5,
8
],
"prizeCount": 0,
"winCondition": [],
"wildPos": [
0
],
"allPlate": 0,
"allPlateHint": 0,
"allPlatePrize": 0,
"bg": {
"count": [
0
],
"times": 0,
"win": 0
},
"sp": {
"resultLayer": [
0
],
"result": [
0
],
"odds": [
0
],
"prize": [
0
],
"jpPrize": [
0
],
"allPlateMulti": [
0
]
},
"external ": {
"{bet}": {
"preState": 0,
"curState": 0,
"nextState": 0,
"showLevel": [
0
],
"scatterCollect": [
0
],
"bgTimes": 0,
"current": {
"roll": [
0
],
"prize": [
0
],
"jpPrize": [
0
],
"jpCount": [
0
]
},
"reserved": {
"roll": [
0
],
"prize": [
0
],
"jpPrize": [
0
],
"jpCount": [
0
]
},
"type": 0,
"count": 0,
"targetNum": 0,
"rounds": 0,
"preTimes": 0,
"jpGameRecord": {
"prizeType": 0,
"currentOnScreenScore": 0,
"totalCash": "string"
}
}
},
"jpGame": {
"prizeType": 0,
"currentOnScreenScore": 0,
"totalCash": 0
},
"winRollFlag": [
0
],
"time": 0,
"totalWin": 0,
"lineBetIndex": 0,
"internal": {
"lineBetIndex": 0,
"pathIdx": 0
},
"jpWin": 0,
"jpWinScore": 0,
"allTotalWin": 0,
"mgCurrentRoll": [
7,
7,
4,
6,
7,
12,
8,
10,
10,
5,
4,
4,
5,
5,
8
],
"fgCurrentRoll": [
0
],
"lastMgCurrent": {
"roll": [
0
],
"prize": [
0
],
"jpPrize": [
0
],
"jpCount": [
0
]
},
"rand_out_data_jp": {
"prize_type": 0,
"reset_on_screen_score": 0,
"reset_open_score": 0,
"rtp": 0,
"add_on_screen_score": [
0
],
"add_on_buffer_score": [
0
],
"index": [
0
]
},
"jpResult": 0,
"rand_out_data_group_jp": {
"prize_type": 0,
"rtp": 0,
"add_on_screen_score": [
0
],
"add_on_buffer_score": [
0
],
"index": [
0
]
},
"groupJpResult": 0,
"groupJpWin": 0,
"groupJpWinScore": 0,
"rand_out_data_plus_jp": {
"status": [
0
],
"player_type": 0,
"prize_type": 0,
"add_on_screen_score": [
0
],
"reduce_screen_score": [
0
],
"index": [
0
]
},
"lobbyJpResult": 0,
"lobbyJpWin": 0,
"lobbyJpWinScore": 0,
"luckyInfo": {
"isLucky": 0,
"name": "string"
},
"roundNo": 0,
"lotteryTicket": [
{}
],
"extraMission": {},
"luckyBox": 0,
"ticketBox": 0
}
}
Request
Query Params
token
string
required
Body Params application/json
Responses
Modified at 2025-06-04 03:22:14