Open API – Account

bg-line

Account

/Account/DataSyncAccounts

{
}

You can retrieve information about the Agent’s users. Please note that the system remembers the last request time, which prevents additional requests for data you have already received.

This request has a specific rate limit: it should be made either once every 61 seconds or once every 31 seconds. Irregular requests will be considered a server attack and may result in all subsequent requests being blocked.

In the event that data could not be saved, you may use the /Account/DataSyncUser request. However, be aware that repeated requests for this endpoint may also result in all subsequent requests being blocked.

Response

{
    "data": {
        "agentId": 1019,
        "rakebackLog": [
            {
                "childAgentId": 1048,
                "childAgentUserId": "test1",
                "date": "2025-06-11T00:00:00Z",
                "symbol": "USDT",
                "amount": 10.458
            },
            {
                "childAgentId": 1048,
                "childAgentUserId": "test1",
                "date": "2025-06-11T00:00:00Z",
                "symbol": "SLOT",
                "amount": 857150
            },
            {
                "childAgentId": 1019,
                "childAgentUserId": "test9",
                "date": "2025-06-11T00:00:00Z",
                "symbol": "USDT",
                "amount": 88.312
            },
            {
                "childAgentId": 1019,
                "childAgentUserId": "test9",
                "date": "2025-06-11T00:00:00Z",
                "symbol": "SLOT",
                "amount": 1498550
            }
        ],
        "userList": [
            {
                "id": "test20",
                "wallet": [
                    {
                        "symbol": "SLOT",
                        "point": 10005410.6,
                        "income": 280000
                    },
                    {
                        "symbol": "BACCARA",
                        "point": 0,
                        "income": 0
                    },
                    {
                        "symbol": "CPP",
                        "point": 0,
                        "income": 0
                    },
                    {
                        "symbol": "USDT",
                        "point": 70886.74452,
                        "income": 3.787
                    }
                ],
                "withdrawalHistoryList": [
                    {
                        "seq": 482,
                        "ccn": "TRC20",
                        "uuid": "373aaa29-93d7-4eb1-b0b9-e7775f3a9881",
                        "address": "0.0.5648752",
                        "action": "Success",
                        "amount": 43,
                        "fee": 7,
                        "wrtime": "2025-06-11T01:57:26"
                    }
                ],
                "depositHistoryList": [
                    {
                        "seq": 134,
                        "ccn": "TRC20",
                        "uuid": "5f9f7b90-b1e8-449e-9246-247c9ad6d792",
                        "address": "782A3C6E8BE8C16F9B641265",
                        "action": "Finalized",
                        "amount": 110,
                        "wrtime": "2025-06-11T01:44:43"
                    }
                ],
                "rakebackDetailList": [
                    {
                        "seq": 128057,
                        "contents": "Holdem",
                        "roomId": "DEVBLUECP_101_3TEXASHOLDEM11_638852046408742628",
                        "gameIndex": "9",
                        "symbol": "USDT",
                        "userId": "test20",
                        "rakeback": 0.006,
                        "wrtime": "2025-06-11T02:16:37",
                        "parentAgentId": 0
                    },
                    {
                        "seq": 128089,
                        "contents": "Slot",
                        "roomId": "bet:1000000",
                        "gameIndex": "BUFF JACKPOT",
                        "symbol": "SLOT",
                        "userId": "test20",
                        "rakeback": 10000,
                        "wrtime": "2025-06-11T02:20:47",
                        "parentAgentId": 0
                    }
                ],
                "withdrawalTotal": 43,
                "depositTotal": 110
            }
        ]
    },
    "status": 0,
    "code": 0,
    "message": "Success!"
}

/Account/DataSyncHoldem

{
}

This request has a specific rate limit: it should be made either once every 61 seconds or once every 31 seconds. Irregular requests will be considered a server attack and may result in all subsequent requests being blocked.

Response

{
    "data": {
        "agentId": 1019,
        "userList": [
            {
                "id": "test20",
                "holdemHistoryList": [
                    {
                        "sequence": 266976,
                        "symbol": "USDT",
                        "roomId": "DEVBLUECP_101_3TEXASHOLDEM11_638852046408742628",
                        "gameIndex": 9,
                        "transactionKey": "",
                        "gameResult": {
                            "isShowdown": false,
                            "cards": [
                                "?",
                                "?",
                                "?",
                                "?",
                                "?"
                            ]
                        },
                        "wrtime": "2025-06-11T02:16:37",
                        "playerLogs": [
                            {
                                "roomId": "DEVBLUECP_101_3TEXASHOLDEM11_638852046408742628",
                                "gameIndex": 9,
                                "username": "test20",
                                "symbol": "USDT",
                                "betMoney": 0.600000000000000000,
                                "getMoney": -0.600000000000000000,
                                "seat": 4,
                                "blind": "SB",
                                "cards": [
                                    "?",
                                    "?"
                                ],
                                "cardHandRank": "FOLD",
                                "ranking": 0,
                                "rake": 0.000000000000000000,
                                "wrtime": "2025-06-11T02:16:37"
                            },
                            {
                                "roomId": "DEVBLUECP_101_3TEXASHOLDEM11_638852046408742628",
                                "gameIndex": 9,
                                "username": "test30",
                                "symbol": "USDT",
                                "betMoney": 1.100000000000000000,
                                "getMoney": 0.540000000000000000,
                                "seat": 0,
                                "blind": "BB",
                                "cards": [
                                    "?",
                                    "?"
                                ],
                                "cardHandRank": "HIGH CARD",
                                "ranking": 1,
                                "rake": 0.060000000000000000,
                                "wrtime": "2025-06-11T02:16:37"
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "status": 0,
    "code": 0,
    "message": "Success!"
}

/Account/DataSyncSlot

{
}

This request has a specific rate limit: it should be made either once every 61 seconds or once every 31 seconds. Irregular requests will be considered a server attack and may result in all subsequent requests being blocked.

Response

{
    "data": {
        "agentId": 1019,
        "userList": [
            {
                "id": "test20",
                "slotHistoryList": [
                    {
                        "userNickname": "test20",
                        "slotName": "BUFF JACKPOT",
                        "pointIn": 1000000.000000000000000000,
                        "pointOut": 500000.000000000000000000,
                        "beforePoint": 10505410.600000000000000000,
                        "afterPoint": 10005410.600000000000000000,
                        "wrtime": "2025-06-11T02:20:50"
                    }
                ]
            }
        ]
    },
    "status": 0,
    "code": 0,
    "message": "Success!"
}

/Account/DataSyncUser

{
    "userId":"string",
    "startTime":"string", // UTC yyyy-MM-dd HH:mm:ss
    "endTime":"string"
}

This request has a specific rate limit: it should be made either once every 61 seconds or once every 31 seconds. Irregular requests will be considered a server attack and may result in all subsequent requests being blocked.

Response

{
    ...
} // The response from this API is in the same format as the DataSync??? Request. You can receive all the user information except the rakebackLog data.

/Account/GetKind

{
    "id":"userid"
}

Response

isAgent:bool

/Admin/CreateUser

{
    "id":"userid",
    "pw":"userpw",
    "username":"nickname",
    "email":"email", // Identifying data, such as user email or phone number
    "agentName":"", // By default, the agentName field should be left empty. If you enter a value, a User will be created under a sub-agent instead.
    "platform":"", // Please only enter 'i' if you are an iOS user. iOS users cannot access the Android or web versions.
}

This API allows you to create accounts for users who want to play games in your club.

Response

none

/Admin/LoginUser

{
    "id":"userid",
    "pw":"userpw"
}

Create a DeepLink that you can sign in to using the User’s ID and Password. The user can launch the game with the DeepLink and the login is valid for 5 minutes.

Response

{
    "token":"token",
    "appLinkUrl":"URL for running the app",
    "webLinkUrl":"URL for running the web"
}

/Admin/UpdateUserPassword

{
    "id":"userid",
    "pw":"new password"
}

Response

none

/Admin/RestrainUser

{
    "id":"userid",
    "restrain":0 // 0 or 99
}

If you set the value of restrain to 99, the user will not be able to log in. If set to 0, it will be the normal state.

Response

none

/Admin/Logout

{
    "id":"userid"
}

You can log the user out immediately. Use it in conjunction with RestrainUser if your goal is to prevent a user from connecting.

Response

none

/Admin/LogoutAll

{
}

Response

none

/Admin/WithdrawUser

/Admin/CancelWithdrawUser

{
    "id":"userid"
}

Cancellation possible within 7 days after withdrawal

Response

none

/Account/List

{
}

Response

list:Array(User)

[User]
- isAgent:bool
- agentName:string
- id:string
- username:string

/Account/UserList

{
}

Response

userList:Array(AgentUser)

[AgentUser]
- agentName:string
- id:string
- username:string
- rakebackRate:decimal
- walletList:Array(WalletInfo)

[WalletInfo]
- symbol:string // Cryptocurrencies name, ex) USDT or SLOT
- point:decimal
- income:decimal // Unclaimed Rakeback

/Account/UserPoint

{
    "id":"userid"
    "symbol":"USDT" // ex) ETC, IDR, If the value is empty, it will take the wallet's points for all symbols.
}

Response

walletList:Array(WalletInfo)

[WalletInfo]
- symbol:string
- point:decimal
- income:decimal // Unclaimed Rakeback

/Account/AddUserPoint

/Account/SubtractUserPoint

{
    "id":"userid",
    "symbol":"USDT",
    "point":value, // Points to add/subtract to a user
    "transactionCodeEx":"string value" // Not required
}

Response

before:decimal // Agent's points
after:decimal // Agent's points
transactionCode:decimal
transactionCodeEx:string
user:User

[User]
- id:string
- username:string
- symbol:string
- before:decimal // User's points
- after:decimal // User's points

/Account/UserInfo

{
    "id":"userid"
}

Response

agentId:int // If that User is an Agent, the identity that exists
nickname:string
lastLoginDate:DateTime
rakebackRate:decimal
ticket:Array(TicketInfo)
wallet:Array(WalletInfo)
holdemHistoryList:Array(HoldemGameLog) // Last 10 games history
rakebackRate:decimal
defaultRakebackRate:decimal
rakeRate:decimal // Rake Rate set by the parent agent
isGeneratePin:bool
feeRate:decimal

[TicketInfo]
- type:string
- count:long
- buyCount:decimal
- buyLimit:int

[WalletInfo]
- symbol:string
- point:decimal
- income:decimal // Unclaimed Rakeback

[HoldemGameLog]
- roomId:string
- gameIndex:int // The combination of the room number and game number represents a single game.
- transactionKey:string // Blockchain transaction keys
- gameResult:GameResult
- wrtime:DateTime
- playerLogs:Array(HoldemPlayerLog) // User logs for the game

[GameResult]
- isShowdown:bool
- cards:Array(string) // Community card, ? is an unopened

[HoldemPlayerLog]
- roomId:string
- gameIndex:int
- username:string
- betMoney:decimal // Total amount BET
- getMoney:decimal // Total amount WON
- seat:int
- blind:string // SB, BB
- cards:Array(string)
- cardHandRank:string
- ranking:int
- rake:decimal

/Account/CheckTransaction

{
    "transactionCode":1234567
    "transactionCodeEx":"string value" // Not required
}

TransactionCodeEx is searched with the highest priority.

Response

transactionCode:long
transactionCodeEx:string
agentId:int
id:string // User's id
username:string // User's nickname
symbol:string
point:decimal
createDate:DateTime

/Account/GetPointHistory

{
    "id":"userid",
    "startTime":"", // format(UTC): yyyy-MM-dd HH:mm:ss
    "endTime":"", // format(UTC): yyyy-MM-dd HH:mm:ss
    "symbol":"USDT", // USDT or SLOT
    "page":1
}

The range of startTime and endTime cannot be more than one quarter, for example, January-March or April-June, and will not provide data older than one year.

Response

historyList:Array(History)

[History]
- id:string
- contents:string
- symbol:string
- sender:string
- value:decimal
- wrtime:DateTime
- transactionCode:long

/Account/SetUserRakebackRate

{
    "agentId":1234567, // If the Agent ID exists, change the Rakeback for all Users belonging to that Agent
    "id":"userid",
    "rakebackRate":value, // ex) 0.03 = 3%
    "updateAgentUser": true or false
}

Response

parentAgentId:int
parentAgentNickname:string
parentAgentRake:decimal
changeList:UserInfo

[UserInfo]
-id:string
-username:string
-before:decimal
-after:decimal

/Account/FindIdFromEmail

{
    "email":"email"
}

Response

id:string
username:string

Account/ExchangePointToSlot

Account/ExchangeSlotToPoint

{
    "id":"userid"
    "symbol":"USDT"
    "point":100
}

Response

user:User
agentSymbol:WalletInfo
agentSlot:WalletInfo
symbolTransactionCode:long
slotTransactionCode:long

[User]
id:string
username:string
userSymbol:WalletInfo
userSlot:WalletInfo

[WalletInfo]
symbol:string
before:decimal
after:decimal

Account/AddUserTicket

Account/SubtractUserTicket

{
    "id":"userid",
    "type":"STT or RTT or CPWT", // STT="Special Tournament", RTT - "Royal Tournament", CPWT - "Crypto In Poker World Tournament" 
    "value":value // ex) 5
}

Response

user:User
before:long // Agent's Ticket count
after:long // Agent's Ticket count
transactionCode:long

[User]
- id:string
- username:string
- type:string
- before:long // User's Ticket count
- after:long // User's Ticket count

/Account/CheckTicketTransaction

{
    "transactionCode":123456789 // long type
}

If necessary, you can confirm that the transaction is complete.

Response

transactionCode:long
agentId:int
id:string
username:string
type:string
value:long
createDate:DateTime

/Account/GetTicketHistory

{
    "id":"userid",
    "startTime":"", // format(UTC): yyyy-MM-dd HH:mm:ss
    "endTime":"", // format(UTC): yyyy-MM-dd HH:mm:ss
    "type":""
}

Response

historyList:Array(History)

[History]
nickname:string
kind:string
type:string
value:long
wrtime:DateTime
transactionCode:long

/Account/GetDailyRakebackInfo

{
    "agentId":1234567, // Not required
    "startDate":"", // format(UTC): yyyy-MM-dd
    "endDate":"" // format(UTC): yyyy-MM-dd
    "symbol":"USDT" // Not required, if there is no value, all items
}

Requests rakeback information for the agent and rakeback information for its subagents.

Response

rakebackLog:Array(DailyRakebackInfo)

[DailyRakebackInfo]
childAgentId:int
childAgentUserId:string
date:DateTime
symbol:string
amount:decimal // Value(Rakeback)

/Account/GetDailyRakebackDetail

{
    "startDate":"", // format(UTC): yyyy-MM-dd
    "endDate":"", // format(UTC): yyyy-MM-dd
    "agentId":agentId, // The ID of the agent to get the information from, or if no value, the user log of the agent making this request.
    "userId":"userId" // The ID of the specific user to get the information from, and if no value, the full user log of the agent making this request.
    "symbol":"USDT" // Not required, if there is no value, all items
}

Response

detailList:DetailInfo

[DetailInfo]
seq:int
contents:string
roomId:string
gameIndex:int
symbol:string
userId:string
rakeback:decimal
wrtime:DateTime
parentAgentId:string

/Account/ChangeIncomePoint

{
    "id":"userid",
    "symbol":"USDT", // only USDT
}

Response

symbol:string
before:decimal
after:decimal

/Account/ChatList

{
    "id":"userid"
}

Response

list:Array(Chatting)

[Chatting]
- seq:long
- agentNickname:string
- clientNickname:string
- sender:string
- message:string
- wrtime:string

/Account/ChatSend

{
    "id":"userid",
    "message":"Hello"
}

Response

list:Chatting

[Chatting]
- seq:long
- agentNickname:string
- clientNickname:string
- sender:string
- message:string
- wrtime:string

/Account/ChatRemove

{
    "id":"userid",
    "seq":102
}

Response

/Account/ChatRemoveAll

{
    "id":"userid"
}

Response

none

/Account/Notice

{
}

Response

title:string
content:string

/Account/SetNotice

{
    "title":"hello!"
    "content":"so good!"
}

Response

title:string
content:string