Appearance
The product calls the operator on this path.
Product Single State
These products can settle in one callback, with no separate place-bet call.
| Product ID | Product Name |
|---|---|
PGSOFT | PG Soft |
BOOMING | Booming |
I8 | I8 |
AFB1188_SLOT | AFB1188 (Slot) |
FACHAI | Fachai |
759GAMING | 759 Gaming |
ASKMEBET | Askmebet |
MINILUCK | Miniluck |
BOOONGO | Booongo |
KAGAME | KA Gaming |
HTTP Request
Method and path below. {API_URL} is a host from the Authentication page. {YOUR_API_URL} is the operator callback host.
text
POST {YOUR_API_URL}/settleBetsContent Type
Use Content-Type: application/json.
Parameter Description
Field name, type, and whether the caller must send it.
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Required | Transaction id |
timestampMillis | number | Required | Unix time in milliseconds |
productId | string | Required | Product id from the API reference |
currency | string | Required | Currency code such as THB |
username | string | Required | Player login name |
txns | Txn[] | Required | List of transactions in this callback |
json
{
"id": "txn-1",
"timestampMillis": 1700000000000,
"productId": "EXAMPLE",
"currency": "THB",
"username": "player01",
"txns": []
}Settle Bet transaction parameters ( txns )
Field name, type, and whether the caller must send it.
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Required | Transaction id |
status | string | Required | Status text for this call. values include SETTLED |
roundId | string | Required | round Id |
betAmount | number | Required | bet Amount. paths /placeBets |
payoutAmount | number | Required | payout Amount |
gameCode | string | Required | Game code from the list-games call |
playInfo | string | Required | play Info |
turnOver | number | Required | turn Over defaults to 0 |
isSingleState | boolean | Required | is Single State. values include OPEN; paths /settleBets, /placeBets |
transactionType | string | Required | transaction Type values include BY_TRANSACTION values include BY_ROUND |
isEndRound | boolean | Optional | is End Round. defaults to false |
isFeature | boolean | Optional | is Feature defaults to false |
isFeatureBuy | boolean | Optional | is Feature Buy. defaults to false |
skipBalanceUpdate | boolean | Optional | skip Balance Update values include SPORT defaults to false |
json
{
"id": "txn-1",
"status": "example",
"roundId": "example",
"betAmount": "1.00",
"payoutAmount": "1.00",
"gameCode": "example",
"playInfo": "example",
"turnOver": 0,
"isSingleState": false,
"transactionType": "example",
"isEndRound": false,
"isFeature": false,
"isFeatureBuy": false,
"skipBalanceUpdate": "1.00"
}Response Description
Fields in a successful JSON body.
| Property | Type | Required | Description |
|---|---|---|---|
id | string | Required | Transaction id |
statusCode | number | Required | Callback status code |
timestampMillis | number | Required | Unix time in milliseconds |
productId | string | Required | Product id from the API reference |
currency | string | Required | Currency code such as THB |
balanceBefore | number | Required | balance Before |
balanceAfter | number | Required | balance After |
username | string | Required | Player login name |
json
{
"id": "txn-1",
"statusCode": 0,
"timestampMillis": 1700000000000,
"productId": "EXAMPLE",
"currency": "THB",
"balanceBefore": "1.00",
"balanceAfter": "1.00",
"username": "player01"
}Request Example
Placeholder values only. Do not send these as real credentials.
Request Example (BY_TRANSACTION)
Placeholder values only. Do not send these as real credentials.
Request Example (BY_ROUND)
Placeholder values only. Do not send these as real credentials.
