Use for Merchant Get Winlose And Turnover All Member By Date
Method : [Post]
Path : {{domain}}/ext/allMemberWinLoseByDate/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"betType":["normal","comboStep","step","Casino","Slot","Lotto","Keno","Trade","Card","Poker","m2","Esport","Cock","Sbo","Saba","Dbs","Fbs","Plb","Umb","Vsb","Afb","Lali"],
"startDate": "01-02-2022 (DD-MM-YYYY)",
"endDate": "02-02-2022 (DD-MM-YYYY)",
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
betType | String | ["normal", "comboStep", "step", "Casino", "Slot", "Lotto", "Keno", "Trade", "Card", "Poker", "m2", "Esport", "Cock", "Sbo", "Saba","Dbs","Fbs","Plb","Umb","Vsb","Afb","Lali"] | The type of game we want to find. |
startDate | Date | 01-02-2022 | Account viewing start date. |
endDate | Date | 02-02-2022 | Account viewing end date. |
web | String | sportbook101 | Active websites. |
{
{
"code": 0,
"lastUpdate": "2022-05-02T08:20:48.099Z",
"msg": "SUCCESS",
"data": [
{
"_id": "auto0830192203",
"betAmt": {
"$numberDecimal": "-524"
},
"validAmt": {
"$numberDecimal": "-524"
},
"winLose": {
"$numberDecimal": "-297.2"
},
"stake": 196
}
]
}
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "_id": "auto0830192203", "betAmt": { "$numberDecimal": "-524" }, "validAmt": { "$numberDecimal": "-524" }, "winLose": { "$numberDecimal": "-297.2" }, "stake": 196 } | data winlose and turnover |
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. |
100040 | betType not found. |
100033 | Data not found. |
104 | missing 'startDate' field. |
105 | missing 'endDate' field. |
50010 | Something went wrong please try again. |
Use for Merchant Get Total Winlose And Turnover All Member By Date
*The api can be called 6 times per hour and no more than 1 date can be entered. Please retrieve it every day if you want to refund the lost amount weekly or monthly.
Method : [Post]
Path : {{domain}}/ext/totalAmtMemberWinLoseByDate/{{prefix}}/{{agentUsername}}
Content-Type: application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"betType":["normal","comboStep","step","Casino","Slot","Lotto","Keno","Trade","Card","Poker","m2","Esport","Cock","Sbo","Saba","Dbs","Fbs","Plb","Umb","Vsb","Afb","Lali"],
"startDate": "01-02-2022 (DD-MM-YYYY)",
"endDate": "02-02-2022 (DD-MM-YYYY)",
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
betType | String | ["normal", "comboStep", "step", "Casino", "Slot", "Lotto", "Keno", "Trade", "Card", "Poker", "m2", "Esport", "Cock", "Sbo", "Saba","Dbs","Fbs","Plb","Umb","Vsb", "Afb", "Lali"] | The type of game we want to find. |
startDate | Date | 01-02-2022 | Account viewing start date. |
endDate | Date | 02-02-2022 | Account viewing end date. |
web | String | sportbook101 | Active websites. |
{
{
"code": 0,
"lastUpdate": "2023-11-12T12:05:11.675Z",
"msg": "SUCCESS",
"data": [
{
"_id": null,
"betAmt": {
"$numberDecimal": "-47398.84"
},
"validAmt": {
"$numberDecimal": "-47398.84"
},
"winLose": {
"$numberDecimal": "-16374.70"
},
"stake": 514
}
]
}
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "_id": null, "betAmt": { "$numberDecimal": "-47398.84" }, "validAmt": { "$numberDecimal": "-47398.84" }, "winLose": { "$numberDecimal": "-16374.70" }, "stake": 514 } | data total winlose and turnover |
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. |
100040 | betType not found. |
100033 | Data not found. |
104 | missing 'startDate' field. |
105 | missing 'endDate' field. |
50010 | Something went wrong please try again. |