Sportbook APISportbook API
  • 1. Create User (Common)
  • 2. Change Password (Common)
  • 3. Change Status (Common)
  • 4. Redirect Login (Common)
  • 5. Get Profile And Credit (Common)
  • 6. Normal Deposit And Withdraw
  • 7. Deposit And Withdraw Pending Transaction
  • 8. Get WinLose By DepositID (Common)
  • 9. Get Bet History By DepositID (Common)
  • 10. Get WinLose And Turnover (Common)
  • 11. Get Winlose By Date
  • 12. Game List (Common)
  • 13. Start Games (Common)
  • 14. Game Detail (Common)
  • 15. Start Lotto (Common)
  • 16. Get WinLose Multi DepositID (Common)
  • 17. Report Winlose Account
  • 18. Get Provider Prefix List (Common)
  • 19. Get Game List By Provider (Common)
  • 20. Get Normal Baccarat Turnover (Common)
  • 21. Get Deposit And Withdraw Transaction (Common)
  • 22. Get Deposit And Withdraw Transaction By User (Common)
  • 23. Get Credit Agent (Common)
  • 24. Get Recently Games (Common)
  • 25. Favourite Games
  • 26. Dashbaord
  • 27. Get Url Start Tournament (Common)
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • 1. Create User (Common)
  • 2. Change Password (Common)
  • 3. Change Status (Common)
  • 4. Redirect Login (Common)
  • 5. Get Profile And Credit (Common)
  • 6. Normal Deposit And Withdraw
  • 7. Deposit And Withdraw Pending Transaction
  • 8. Get WinLose By DepositID (Common)
  • 9. Get Bet History By DepositID (Common)
  • 10. Get WinLose And Turnover (Common)
  • 11. Get Winlose By Date
  • 12. Game List (Common)
  • 13. Start Games (Common)
  • 14. Game Detail (Common)
  • 15. Start Lotto (Common)
  • 16. Get WinLose Multi DepositID (Common)
  • 17. Report Winlose Account
  • 18. Get Provider Prefix List (Common)
  • 19. Get Game List By Provider (Common)
  • 20. Get Normal Baccarat Turnover (Common)
  • 21. Get Deposit And Withdraw Transaction (Common)
  • 22. Get Deposit And Withdraw Transaction By User (Common)
  • 23. Get Credit Agent (Common)
  • 24. Get Recently Games (Common)
  • 25. Favourite Games
  • 26. Dashbaord
  • 27. Get Url Start Tournament (Common)
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • Overview
  • 1. Create User (Common)
  • 2. Change Password (Common)
  • 3. Change Status (Common)
  • 4. Redirect Login (Common)
  • 5. Get Profile And Credit (Common)
  • 6. Normal Deposit And Withdraw
  • 7. Deposit And Withdraw Pending Transaction
  • 8. Get WinLose By DepositID (Common)
  • 9. Get Bet History By DepositID (Common)
  • 10. Get WinLose And Turnover (Common)
  • 11. Get Winlose By Date
  • 12. Game List (Common)
  • 13. Start Games (Common)
  • 14. Game Detail (Common)
  • 15. Start Lotto (Common)
  • 16. Get WinLose Multi DepositID (Common)
  • 17. Report Winlose Account
  • 18. Get Provider Prefix List (Common)
  • 19. Get Game List By Provider (Common)
  • 20. Get Normal Baccarat Turnover (Common)
  • 21. Get Deposit And Withdraw Transaction (Common)
  • 22. Get Deposit And Withdraw Transaction By User (Common)
  • 23. Get Credit Agent (Common)
  • 24. Get Recently Games (Common)
  • 25. Favourite Games
  • 26. Dashbaord
  • 27. Get Url Start Tournament (Common)

10. Get WinLose And Turnover (Common)

Use for Merchant get WinLose And Turnover

*api สามารถเรียกใช้ได้ 300 คร้ง ต่อ นาที และ ใส่วันที่ได้ไม่เกิน 1 วัน กรุณาดึงไปเก็บไว้ทุกวันถ้าจะทำคืนยอดเสียรายสัปดา หรือ เดือน

Method : [Post]
Path : {{domain}}/ext/getWinLoseAndTurnOver/{{prefix}}/{{agentUsername}}
Content-Type : application/json

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "username": "{{agentUsername}}ninemb01",
    "startDate": "01-02-2022 (DD-MM-YYYY)",
    "endDate": "02-02-2022 (DD-MM-YYYY)",
    "web": "{{whiteLabel}}"   
}
KeyTypeExample ValueDescription
agentUsernameStringtestagเอเย่นต์ที่ใช้งาน
keyStringtnyENKDWvOkBXpvm6UZVaคีย์ของเอเย่นต์
usernameStringtestagninemb01ยูสเซอร์ที่ต้องการดูประวัติการฝากเงิน
startDateDate01-02-2022วันเริ่มต้นของการดูบัญชี
endDateDate02-02-2022วันสิ้นสุดของการดูบัญชี
webStringsportbook101เว็บที่ใช้งาน

Response

{
    "code": 0,
    "data": {
        "card": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "casino": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "hdp": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "keno": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "lotto": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "mixParlay": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "mixStep": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "poker": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "slot": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "trade": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "esport": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "cock": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "sbo": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "saba": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "dbs": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "fbs": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "plb": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "umb": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "vsb": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "afb": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
        "lali": {
            "com": 0,
            "stake": 0,
            "vl": 0,
            "wl": 0
        },
    },
    "msg": "SUCCESS"
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
dataObject { "card": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "casino": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "hdp": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "keno": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "lotto": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "mixParlay": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "mixStep": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "poker": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "slot": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "trade": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "esport": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "cock": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "sbo": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "saba": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "dbs": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "fbs": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "plb": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "umb": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "vsb": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "afb": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, "lali": { "com": 0, "stake": 0, "vl": 0, "wl": 0 }, }data winlose and turnover [ "card" คือ เกมส์การ์ด, "casino" คือ คาสิโน, "hdp" คือ กีฬาเดี่ยว, "keno" คือ คีโน่, "lotto" คือ หวยทั้งหมด, "mixParlay" คือ กีฬาพาเลย์, "mixStep" คือ กีฬาคอมโบ, "poker" คือ โป๊กเกอร์, "slot" คือ เกมส์สล็อต, "trade" คือ เทรดเดอร์, "esport" คือ อีสปอดร์, "cock" คือ ไก่ชน, "sbo" คือ กีฬา sbobet, "saba" คือ กีฬา Ibcbet, "dbs" คือ กีฬา Panda sport, "fbs" คือ กีฬา FB sport, "plb" คือ กีฬา Parlaybay, "umb" คือ กีฬา Um bet, "vsb" คือ กีฬา Virtual Sport Pragmatic, "afb" คือ กีฬา AFB88, "lali" คือ กีฬา Lalika bet "com" คือ ค่าคอมมิชชั่น, "stake" คือจำนวนตั๋ว, "vl" คือยอดการเดิมพันจริง, "wl" คือยอดได้เสียทั้งหมด, ]

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100005Missing 'username' field.
100006Username is type string.
100009Your username must be between 8 and 48 character.
100012Key not found.
100013Agent not found.
100014Member not found.
100021Missing 'refId' field.
100022RefId is type string.
100033Data not found.
104missing 'startDate' field.
105missing 'endDate' field.
50010Something went wrong please try again.
ก่อนหน้า
9. Get Bet History By DepositID (Common)
ถัดไป
11. Get Winlose By Date