20. Get Normal Baccarat Turnover (Common)
Use for Merchant Get Normal Baccarat Turnover
*Counting the turnover of normal type Baccarat bets can be used with Prettygaming (4point normal), sagaming, sexy gaming in the normal category. The turnover will be counted even if the result is a draw or there is a retroactive cancellation from the provider.
*Api can request 3000 times : 1 minute
*The turnover is calculated daily and has a lifespan of 60 days.
Method : [Post]
Path : {{domain}}/ext/getNormalBccTurnOver/{{prefix}}/{{agentUsername}}
Content-Type : application/json
Request Body
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"username": "{{agentUsername}}ninemb01",
"date":"20220809"
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|---|---|---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
username | String | testagninemb01 | Users who want to view profiles. |
date | String | 20220809 | **Format year month day YYYYMMDD then become a string. |
web | String | sportbook101 | Active websites. |
Response
{
"code": 0,
"data": {
"username": "auto0830192203",
"balance": 9992257.5,
"normalBaccaratTurnOver": 11100
},
"msg": "SUCCESS"
}
Key | Type | Example Value | Description |
---|---|---|---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "username": "auto0830192203", "balance": 9992257.5, "normalBaccaratTurnOver": 11100 } | data Baccarat TurnOver |
Error Code
Value | msg |
---|---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |