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}}"
}
Key | Type | Example Value | Description |
---|---|---|---|
agentUsername | String | testag | เอเย่นต์ที่ใช้งาน |
key | String | tnyENKDWvOkBXpvm6UZVa | คีย์ของเอเย่นต์ |
username | String | testagninemb01 | ยูสเซอร์ที่ต้องการดูโปรไฟล์ |
web | String | sportbook101 | เว็บที่ใช้งาน |
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,
"m8":0,
"ufa":0,
"obx":0
},
"username": "testagninemb01"
},
"msg": "SUCCESS"
}
Key | Type | Example Value | Description |
---|---|---|---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "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, "m8":0, "ufa":0, "obx":0 }, "username": "testagninemb01" } | data Profile, Balance and outStanding [ "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, "m8" คือ กีฬา M9bet, "ufa" คือ กีฬา UFABET+, "obx" คือ มวยพักยก] |
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. |