
Agent
/Agent/GetKey
{
"agentId":"agentId",
}
Only SuperAgents can be called.
Response
key:string
/Agent/Info
{
}
This API can get information from the agent itself.
Response
rake:decimal // Rake value set on the agent
childAgentList:Array(AgentChildInfo)
[AgentChildInfo]
- parentAgentName:string
- agentName:string
- agentId:int
- rake:decimal
/Agent/AddAgentPoint
/Agent/SubtractAgentPoint
{
"agentId":"agentId",
"symbol":"USDT",
"point":value // Points to add/subtract to a agent
}
Response
agent:PointInfo
before:decimal
after:decimal
transactionCode:decimal
[PointInfo]
- agentName:string
- agentId:int
- symbol:string // Cryptocurrencies name, ex) USDT
- before:decimal
- after:decimal
/Agent/SetAgentRake
{
"agentId":"agentid"
"rake":value // ex) 3.8
}
The rake value of the agent to be set cannot exceed the rake value set for you. For agents whose immediate subagents have a Rake value less than the set Rake value, set the Rake value of the agent and its subagents to 0.
Response
agent:ChildInfo
before:decimal
after:decimal
[ChildInfo]
- agentName:string
- agentId:int
- rake:decimal
/Agent/ChildRegister
{
"id":"id"
"rakeRate": x.x
"rakebackRate": x.x
}
The rakebackRate cannot be greater than the rakeRate.
Response
none
/Agent/ChildUnregister
{
"Id":"id"
}
Assign a player who is part of an agent as an agent or revoke the agent’s permissions.
Response
none
/Agent/BuySlotPoint
{
"point":100000, // min 100,000 slot point. max 3,000,000,000
"symbol":"USDT"
}
Only SuperAgents can be called.
Response
symbol:string
beforePoint:decimal
afterPoint:decimal
beforeSlotPoint:decimal
afterSlotPoint:decimal
/Agent/BuySlotPointHistory
{
"startTime":"", // format(UTC): yyyy-MM-dd HH:mm:ss
"endTime":"", // format(UTC): yyyy-MM-dd HH:mm:ss
"page":1 // 100 per page
}
Response
historyList:History
[History]
- symbol:string
- point:decimal
- slotPoint:decimal
- wrtime:DateTime
/Agent/SlotTransactionInfo
{
}
Information about transactions applied for, transactions received, and transaction rates
Response
requestTransactionList:TransactionInfo
receiveTransactionList:TransactionInfo
transactionRateInfoList:RateInfo
[TransactionInfo]
- transactionCode:long
- requestAgentId:int
- requestAgentNickname:string
- receiveAgentId:int
- receiveAgentNickname:string
- tradeFee:decimal
- slotPoint:decimal
- symbol:string
- point:decimal
- wrtime:DateTime
[RateInfo]
- agnetId:int
- nickname:string
- rate:decimal
/Agent/SetSlotTransactionRate
{
"agentId":1234567,
"rate":0.03 // Can be set to 4 decimal places, 0.03 ~ 0.1
}
Response
beforeRate:decimal
afterRate:decimal
/Agent/RequestTransactionSlotPoint
{
"agentId":1234567,
"symbol":"USDT",
"point":1234567
}
Response
symbol:string
beforePoint:decimal
afterPoint:decimal
transacionCode:long
/Agent/CancelTransactionSlotPoint
{
"transacionCode":1234567
}
Response
symbol:string
beforePoint:decimal
afterPoint:decimal
/Agent/AcceptTransactionSlotPoint
{
"transacionCode":1234567
}
Response
symbol:string
beforePoint:decimal
afterPoint:decimal
beforeSlotPoint:decimal
afterSlotPoint:decimal
/Agent/RejectTransactionSlotPoint
{
"transacionCode":1234567
}
Response
none
/Agent/RequestTransactionSlotIncome
{
"symbol":"USDT" // Exchanged with this symbol
}
Slot Points must hold at least 1000 and are exchanged for 1 USDT per 1000.
Response
requestIncomePoint:decimal
remainIncomePoint:decimal
beforePoint:decimal
afterPoint:decimal
transacionCode:long
/Agent/BuyTicket
{
"type":"STT", // STT or RTT
"count":1,
"symbol":"USDT"
}
Response
symbol:string
beforePoint:decimal
afterPoint:decimal
type:string
beforeTicketCount:int
afterTicketCount:int
/Agent/Statistics
{
"agentId":1234567 // 0 = Yourself,
"startTime":"", // format(UTC): yyyy-MM-dd
"endTime":"", // format(UTC): yyyy-MM-dd
"symbol":"USDT", // If 'SLOT', aggregate based on data converted to slot points
"page":1
}
Data is retrievable for up to 1 year
Response
list:DailyStatisticsData
totalCount:int
[DailyStatisticsData]
-date:Datetime
-symbol:string
-signupCount:int
-signupDepositUserCount:int
-signupDepositCount:int
-totalDeposit:decimal
-totalHoldemBetting:decimal
-totalSlotBetting:decimal
-totalBaccaraBetting:decimal
-totalHoldemIncome:decimal
-totalSlotIncome:decimal
-totalBaccaraIncome:decimal
-totalIncome:decimal
/Agent/UserStatistics
{
"userId":"KoKo777",
"startTime":"", // format(UTC): yyyy-MM-dd
"endTime":"", // format(UTC): yyyy-MM-dd
"symbol":"USDT", // If 'SLOT', aggregate based on data converted to slot points
"page":1
}
Data is retrievable for up to 1 year
Response
list:DailyUserData
totalCount:int
[DailyUserData]
-date:Datetime
-symbol:string
-totalDeposit:decimal
-totalHoldemBetting:decimal
-totalSlotBetting:decimal
-totalBaccaraBetting:decimal
-totalHoldemRake:decimal
-totalSlotRake:decimal
-totalBaccaraRake:decimal