Notification Callback API
🔔 Core Features
Notification callbacks are used by QK Gaming to proactively notify the operator when specific events occur. These interfaces are provided by the operator and called by QK Gaming, the opposite direction from "operator calls QK" used elsewhere in this documentation.
Request Basics
- Endpoint: The address configured by the operator in the channel settings (the same channel address used by the Seamless Wallet API)
- HTTP Method:
GET
🔐 Authentication & Encryption
The parameter structure is the same as the Transfer Wallet API (agent/timestamp/param/key, with the plaintext carrying s={operation subtype}). For the encryption method, see: Authentication Guide
Interface example
{channel address}?agent={agent}×tamp={timestamp}¶m={param}&key={key}📋 Interface List
Player Offline Logout (s:11)
param Structure
| Parameter | Type | Required | Description |
|---|---|---|---|
| s | Integer | ✅ | Operation subtype (fixed at 11) |
| account | String | ✅ | Player account |
Sent by QK Gaming when a player leaves the game. In "Transfer Wallet + offline callback" mode, the operator can use this to decide when to withdraw funds, in combination with the Query Player Total Balance (s:7) interface to confirm the player's current balance.
param plaintext example (before encryption)
s=11&account=10001_test01Operator Should Respond With
Any response is acceptable; the following is recommended:
{
"d": {
"code": 0
}
}⚠️ Best-Effort Delivery
Notification callbacks are best-effort; QK Gaming currently does not retry failed notifications. If the operator needs more real-time balance synchronization, it is recommended to actively poll with Query Player Total Balance (s:7) as well.
