Skip to content

Query Bet Records GET

Seamless-wallet call. The operator keeps the balance and answers product callbacks.

Authorization ​

Send Basic authentication on this call.

HTTP Request ​

Method and path below. {API_URL} is a host from the Authentication page. {YOUR_API_URL} is the operator callback host.

text
GET {API_URL}/seamless/betTransactionsV2?productId={productId}&date={date}&nextId={nextId}

HTTP Request ​

Method and path below. {API_URL} is a host from the Authentication page. {YOUR_API_URL} is the operator callback host.

text
GET {API_URL}/seamless/betTransactionsV2?productId={productId}&startTime={startTime}&endTime={endTime}&nextId={nextId}

Parameter Description ​

Field name, type, and whether the caller must send it.

PropertyTypeRequiredDescription
productIdstringRequiredProduct id from the API reference. values include SEXY; see Product Lists
datestringOptionaldate
startTimestringOptionalstart Time
endTimestringOptionalend Time
nextIdstringOptionalnext Id
json
{
  "productId": "EXAMPLE",
  "date": "example",
  "startTime": 1700000000000,
  "endTime": 1700000000000,
  "nextId": "example"
}

Response Description ​

Fields in a successful JSON body.

PropertyTypeRequiredDescription
reqIdstringRequiredId for this response
codenumberRequiredStatus code number. see Error message
messagestringRequiredShort status text
dataQueryBetDataV2RequiredPayload object
json
{
  "reqId": "req-1",
  "code": 0,
  "message": "ok",
  "data": {}
}

Query Bet Data V2 ​

PropertyTypeRequiredDescription
nextIdstringOptionalnext Id
txnsTxn[]RequiredList of transactions in this callback

Txn ​

PropertyTypeRequiredDescription
idstringRequiredTransaction id
betIdstringRequiredBet id
usernamestringRequiredPlayer login name
currencystringRequiredCurrency code such as THB
accountingDatestringRequiredaccounting Date
updatedDatestringRequiredupdated Date
stakenumberRequiredstake
payoutnumberRequiredpayout
productIdstringRequiredProduct id from the API reference
gameCodestringRequiredGame code from the list-games call
gameNamestringRequiredgame Name
roundIdstringRequiredround Id
betStatusstringRequiredbet Status
payoutStatusstringRequiredpayout Status

Local editable copy. Not the official AMBSuperAPI documentation.