Sportbook APISportbook API
  • 1. สมาชิก

    • 1.1 Create User (Common)
    • 1.2 Change Password (Common)
    • 1.3 Change Status (Common)
    • 1.4 Redirect Login (Common)
    • 1.5 Get Profile And Credit (Common)
  • 2. ฝาก-ถอน

    • 2.1 Normal Deposit And Withdraw
    • 2.2 Deposit And Withdraw Pending Transaction
    • 2.3 Get Deposit And Withdraw Transaction (Common)
    • 2.4 Get Deposit And Withdraw Transaction By User (Common)
    • 2.5 Get Credit Agent (Common)
    • 2.6 Get Deposit And Withdraw Transaction By Time (Common)
  • 3. เกม

    • 3.1 Get Provider Prefix List (Common)
    • 3.2 Game List (Common)
    • 3.3 Get Game List By Provider (Common)
    • 3.4 Game Detail (Common)
    • 3.5 Start Games (Common)
    • 3.6 Start Lotto (Common)
    • 3.7 Get Recently Games (Common)
    • 3.8 Favourite Games
  • 4. ได้เสีย & รายงาน

    • 4.1 Get WinLose By DepositID (Common)
    • 4.2 Get WinLose Multi DepositID (Common)
    • 4.3 Get Bet History By DepositID (Common)
    • 4.4 Get WinLose And Turnover (Common)
    • 4.5 Get Winlose By Date
    • 4.6 Get Normal Baccarat Turnover (Common)
    • 4.7 Report Winlose Account
    • 4.8 Dashboard
    • 4.9 Win/Lose Detail Report
    • 4.10 Get WinLose And Turnover By Time (Common)
  • 5. โปรโมชั่น

    • 5.1 Get Url Start Tournament (Common)
    • 5.2 Leader Board
    • 5.3 Free Spin
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • 1. สมาชิก

    • 1.1 Create User (Common)
    • 1.2 Change Password (Common)
    • 1.3 Change Status (Common)
    • 1.4 Redirect Login (Common)
    • 1.5 Get Profile And Credit (Common)
  • 2. ฝาก-ถอน

    • 2.1 Normal Deposit And Withdraw
    • 2.2 Deposit And Withdraw Pending Transaction
    • 2.3 Get Deposit And Withdraw Transaction (Common)
    • 2.4 Get Deposit And Withdraw Transaction By User (Common)
    • 2.5 Get Credit Agent (Common)
    • 2.6 Get Deposit And Withdraw Transaction By Time (Common)
  • 3. เกม

    • 3.1 Get Provider Prefix List (Common)
    • 3.2 Game List (Common)
    • 3.3 Get Game List By Provider (Common)
    • 3.4 Game Detail (Common)
    • 3.5 Start Games (Common)
    • 3.6 Start Lotto (Common)
    • 3.7 Get Recently Games (Common)
    • 3.8 Favourite Games
  • 4. ได้เสีย & รายงาน

    • 4.1 Get WinLose By DepositID (Common)
    • 4.2 Get WinLose Multi DepositID (Common)
    • 4.3 Get Bet History By DepositID (Common)
    • 4.4 Get WinLose And Turnover (Common)
    • 4.5 Get Winlose By Date
    • 4.6 Get Normal Baccarat Turnover (Common)
    • 4.7 Report Winlose Account
    • 4.8 Dashboard
    • 4.9 Win/Lose Detail Report
    • 4.10 Get WinLose And Turnover By Time (Common)
  • 5. โปรโมชั่น

    • 5.1 Get Url Start Tournament (Common)
    • 5.2 Leader Board
    • 5.3 Free Spin
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • Overview
  • 1. สมาชิก

    • 1.1 Create User (Common)
    • 1.2 Change Password (Common)
    • 1.3 Change Status (Common)
    • 1.4 Redirect Login (Common)
    • 1.5 Get Profile And Credit (Common)
  • 2. ฝาก-ถอน

    • 2.1 Normal Deposit And Withdraw
    • 2.2 Deposit And Withdraw Pending Transaction
    • 2.3 Get Deposit And Withdraw Transaction (Common)
    • 2.4 Get Deposit And Withdraw Transaction By User (Common)
    • 2.5 Get Credit Agent (Common)
    • 2.6 Get Deposit And Withdraw Transaction By Time (Common)
  • 3. เกม

    • 3.1 Get Provider Prefix List (Common)
    • 3.2 Game List (Common)
    • 3.3 Get Game List By Provider (Common)
    • 3.4 Game Detail (Common)
    • 3.5 Start Games (Common)
    • 3.6 Start Lotto (Common)
    • 3.7 Get Recently Games (Common)
    • 3.8 Favourite Games
  • 4. ได้เสีย & รายงาน

    • 4.1 Get WinLose By DepositID (Common)
    • 4.2 Get WinLose Multi DepositID (Common)
    • 4.3 Get Bet History By DepositID (Common)
    • 4.4 Get WinLose And Turnover (Common)
    • 4.5 Get Winlose By Date
    • 4.6 Get Normal Baccarat Turnover (Common)
    • 4.7 Report Winlose Account
    • 4.8 Dashboard
    • 4.9 Win/Lose Detail Report
    • 4.10 Get WinLose And Turnover By Time (Common)
  • 5. โปรโมชั่น

    • 5.1 Get Url Start Tournament (Common)
    • 5.2 Leader Board
    • 5.3 Free Spin

2.6 Get Deposit And Withdraw Transaction By Time (Common)

สำหรับ Merchant ดึงรายการฝาก-ถอนของ member ทุกคนที่อยู่ใต้เอเย่นต์โดยตรง ตามช่วงวัน และเวลา ผลเหมือน 2.3 Get Deposit And Withdraw Transaction ทุกอย่าง ต่างกันแค่ startDate / endDate ใส่เวลาได้ และเลือกโซนเวลาได้

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

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "startDate": "01-11-2026 09:00:00",
    "endDate": "01-11-2026 18:29:59",
    "gmt": "+07:00",
    "web": "{{whiteLabel}}"
}
KeyTypeExample ValueDescription
agentUsernameStringtestagเอเย่นต์ที่ใช้งาน
keyStringtnyENKDWvOkBXpvm6UZVaคีย์ของเอเย่นต์
startDateString01-11-2026 09:00:00เวลาเริ่ม DD-MM-YYYY HH:mm:ss นับรวม
endDateString01-11-2026 18:29:59เวลาสิ้นสุด DD-MM-YYYY HH:mm:ss นับรวมจนจบวินาทีนั้น
gmtString+07:00ไม่บังคับ โซนเวลาของ startDate / endDate รูปแบบ +HH:MM หรือ -HH:MM (นาทีเป็น 00, 15, 30 หรือ 45 ตั้งแต่ -12:00 ถึง +14:00) ไม่ส่ง = เวลาไทย (GMT+7)
webStringsportbook101เว็บที่ใช้งาน

กติกาช่วงเวลา

  • รูปแบบต้องตรงเป๊ะ วัน เดือน ชั่วโมง นาที วินาที ต้องเป็นเลขสองหลัก เช่น 01-11-2026 09:05:00 ส่งแค่วันที่ไม่มีเวลาจะได้ 50013
  • นับรวมทั้งสองปลาย และ endDate นับถึงสิ้นวินาทีนั้น 01-11-2026 00:00:00 → 01-11-2026 23:59:59 คือทั้งวัน ได้รายการเดียวกับ 2.3 ที่ส่ง 01-11-2026 → 02-11-2026 · ถ้าจะดึงเป็นช่วงต่อกัน ให้จบก่อนช่วงถัดไปหนึ่งวินาที เช่น 00:00:00–00:59:59, 01:00:00–01:59:59
  • startDate เท่ากับ endDate ได้ (หนึ่งวินาที) แต่ห้ามมากกว่า (50014)
  • เวลาเดียวกันที่ส่งคนละโซนได้ผลเท่ากัน: 01-11-2026 07:00:00 กับ +07:00 = 01-11-2026 00:00:00 กับ +00:00
  • date ของรายการคือเวลาที่บันทึกจริง ช่วงเวลาจึงแม่นถึงวินาที
  • ได้เฉพาะรายการที่ transaction: "success" ของ member ที่อยู่ใต้เอเย่นต์โดยตรง ไม่ได้เรียงลำดับ

Response

{
    "code": 0,
    "data": [
        {
            "_id": "62b974f56e82c478362086bb",
            "transaction": "success",
            "user": "auto0859765751",
            "actionBy": "API",
            "currency": "THB",
            "action": "DEPOSIT",
            "amount": 10,
            "withdraw": 0,
            "from": "CASH",
            "date": "2026-11-01T02:14:29.256Z",
            "__v": 0,
            "afterCredit": 10,
            "beforeCredit": 0
        }
    ]
}
KeyTypeDescription
codeNumberรหัสผลลัพธ์ของ API
dataArrayรายการฝาก-ถอน ฟิลด์เหมือน 2.3 ไม่มีรายการ = array ว่าง
data[].userStringusername ของ member
data[].actionStringDEPOSIT หรือ WITHDRAW
data[].amountNumberจำนวนเงิน
data[].currencyStringสกุลเงิน
data[].beforeCredit / afterCreditNumberเครดิตก่อนและหลัง
data[].dateDateเวลาของรายการ (UTC)

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100012Key not found.
100013Agent not found.
104missing 'startDate' field
105missing 'endDate' field
50012Invalid 'gmt' field. Expected format '+07:00'.
50013Invalid 'startDate' or 'endDate'. Expected format 'DD-MM-YYYY HH:mm:ss'.
50014'startDate' must not be after 'endDate'.
50010Something went wrong please try again. (ผิดพลาดชั่วคราว ลองใหม่)
ก่อนหน้า
2.5 Get Credit Agent (Common)