Appearance
Query Transfer Bet-records GET
Authorization
Transfer uses Basic Authentication with your agent credentials. (Authentication)
HTTP Request
GET {{ API_URL }}/betTransactionsTransfer?productId={{ productId }}&startTime={{ startTime }}&endTime={{ endTime }}
Note: This API support only transfer-wallet integration and data will be available after November 21, 2024 05:00:00.000 UTC
Due to issue about fetch huge data take a long time, so we implemented the new API to resolve the problem.
Parameter Description
Property | Type | Required | Description |
---|---|---|---|
productId | string | Required | Product ID (Ref. Product List)) (Example : SEXY ) |
startTime | string | Required | Date-time in ISO 8601 format eg 2013-07-16T19:23:51Z |
endTime | string | Required | Date-time in ISO 8601 format eg 2013-07-16T19:23:51Z |
Response Description
Property | Type | Required | Description |
---|---|---|---|
reqId | string | Required | Unique reference for each request |
code | number | Required | Response status |
message | string | Required | Additional information on response status |
data | QueryBetDataV2 | Required | Query bet data |
Query Bet Data
Property | Type | Required | Description |
---|---|---|---|
txns | Txn[] | Required | Transactions list |
Txn
Property | Type | Required | Description |
---|---|---|---|
id | string | Required | Transaction id |
betId | string | Required | Unique bet id on each user |
username | string | Required | Username |
currency | string | Required | ISO 4217 currency code |
accountingDate | string | Required | Settlement time |
updatedDate | string | Required | Latest update time |
stake | number | Required | Stake amount |
payout | number | Required | Payout amount (including stake) |
productId | string | Required | Product id |
gameCode | string | Required | Game code |
gameName | string | Required | Game name |
roundId | string | Required | Round id |
betStatus | string | Required | Bet status (OPEN, SETTLED, UNSETTLED, VOID) |
payoutStatus | string | Required | Payout status (LOSE, WIN, DRAW, UNKNOWN) |
commission | number | Required | Commission fee |
JSON response example:
json
{
"reqId": "afd71177-960f-4669-90ed-8a34eed3d7d3",
"code": 0,
"message": "Success",
"data": {
"txns": [
{
"id": "613af94ce2d30c10be22dc06",
"betId": "21352670",
"username": "tor0002",
"currency": "THB",
"accountingDate": "2021-09-10T06:20:06.000+00:00",
"updatedDate": "2021-09-10T06:20:06.000+00:00",
"stake": 40,
"payout": 30,
"productId": "SIMPLEPLAY",
"gameCode": "EG-SLOT-A044",
"gameName": "Bomber Squad",
"roundId": "4500052193296",
"betStatus": "SETTLED",
"payoutStatus": "LOSE",
"commission": 0
},
{
"id": "613af94ce2d30c10be22dc34",
"betId": "21352676",
"username": "tor0002",
"currency": "THB",
"accountingDate": "2021-09-10T06:20:20.000+00:00",
"updatedDate": "2021-09-10T06:20:20.000+00:00",
"stake": 40,
"payout": 15,
"productId": "SIMPLEPLAY",
"gameCode": "EG-SLOT-A044",
"gameName": "Bomber Squad",
"roundId": "4500085747728",
"betStatus": "SETTLED",
"payoutStatus": "LOSE",
"commission": 0
}
]
}
}