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. Dashboard
  • 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. Dashboard
  • 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. Dashboard
  • 27. Get Url Start Tournament (Common)

5. Get Profile And Credit (Common)

Use for Merchant Get Profile And Credit

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

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "username": "{{agentUsername}}ninemb01",
    "web": "{{whiteLabel}}"   
}
KeyTypeExample ValueDescription
agentUsernameStringtestagThe agent's username.
keyStringtnyENKDWvOkBXpvm6UZVaThe agent's unique key.
usernameStringtestagninemb01Users who want to view profiles
webStringsportbook101Active websites.

Response

{
    "code": 0,
    "data": {
        "balance": 0,
        "currency": "THB",
        "lastPaymentID": null,
        "outStandingAmt": {
            "hdp": 0,
            "mixParlay": 0,
            "mixStep": 0,
            "casino": 0,
            "slot": 0,
            "card": 0,
            "lotto": 0,
            "keno": 0,
            "trade": 0,
            "poker": 0,
            "esport": 0,
            "cock": 0,
            "sbo": 0,
            "saba": 0,
            "dbs": 0,
            "fbs": 0,
            "plb": 0,
            "umb": 0,
            "vsb": 0,
            "afb": 0,
            "lali": 0
        },
        "username": "testagninemb01"
    },
    "msg": "SUCCESS"
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
dataObject { "balance": 0, "currency": "THB", "lastPaymentID": null, "outStandingAmt": { "hdp": 0, "mixParlay": 0, "mixStep": 0, "casino": 0, "slot": 0, "card": 0, "lotto": 0, "keno": 0, "trade": 0, "poker": 0, "esport": 0, "cock": 0, "sbo": 0, "saba": 0, "dbs": 0, "fbs": 0, "plb": 0, "umb": 0, "vsb": 0, "afb": 0, "lali": 0 }, "username": "testagninemb01" }data Profile, Balance and outStanding [ "card" is a card game, "casino" is a casino, "hdp" is a single sport, "keno" is keno, "lotto" is all lotteries, "mixParlay" is a parlay sport, "mixStep" is a combo sport, "poker" is a poker, "slot" is a slot game, "trade" is a trader, "esport" is an e-sports, "cock" is a cockfight, "sbo" is a sbobet sport, "saba" is an Ibcbet sport, "dbs" is a Panda sport, "fbs" is a FB sport, "plb" is a Parlaybay sport, "umb" is a Um bet sport, "vsb" is a Virtual Sport Pragmatic sport, "afb" is a AFB88 sport, "lali" is a Lalika bet sport ]

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.
Prev
4. Redirect Login (Common)
Next
6. Normal Deposit And Withdraw