Operator API
Wallet transaction history
get
/v1/transactionsPaginated history of the merchant wallet transactions (what was sent to the callback and the result).
Authentication#
Request signed with HMAC-SHA256: headers X-Merchant-Id, X-Timestamp, X-Nonce and X-Signature. See Authentication.
Parameters#
| Field | Description |
|---|---|
pagenumber | Page (starts at 1) minimum 1 · default: 1 |
limitnumber | Items per page 1–100 · default: 50 |
player_idstring | Player id at the merchant |
round_idstring | Round (round_id from the callback) |
tx_idstring | tx_id sent in the wallet callback |
action"bet" | "win" | "refund" | "rollback" | Callback action |
status"pending" | "success" | "failed" | pending = no definitive answer from the wallet; failed = rejected |
fromstring (date-time) | Start (ISO 8601) |
tostring (date-time) | End (ISO 8601, exclusive) |
Example#
# TALOS_API_HOST (without /v1), TALOS_MERCHANT and TALOS_SECRET are provided by TALOS
TS=$(($(date +%s) * 1000))
NONCE=$(openssl rand -hex 16)
REQ_PATH='/v1/transactions'
BODY=''
SIG=$(printf '%s' "$TS.$NONCE.GET.$REQ_PATH.$BODY" | openssl dgst -sha256 -hmac "$TALOS_SECRET" | sed 's/^.* //')
curl -X GET "$TALOS_API_HOST$REQ_PATH" \
-H "X-Merchant-Id: $TALOS_MERCHANT" \
-H "X-Timestamp: $TS" \
-H "X-Nonce: $NONCE" \
-H "X-Signature: $SIG"import { talos } from './talos' // signed client (see Authentication)
const res = await talos('GET', '/v1/transactions')
if (!res.success) throw new Error(`${res.error.code}: ${res.message}`)
console.log(res.data)Responses#
200Success
| Field | Description |
|---|---|
successtruerequired | — |
messagestringrequired | — |
statusCodenumberrequired | — |
dataobject[]required | — |
data[].tx_idstringrequired | Transaction id sent in the wallet callback |
data[].ref_tx_idstring | nullrequired | tx_id of the reverted transaction (refund/rollback) |
data[].action"bet" | "win" | "refund" | "rollback"required | — |
data[].status"pending" | "success" | "failed"required | — |
data[].player_idstringrequired | — |
data[].providerstringrequired | — |
data[].gamestringrequired | — |
data[].round_idstringrequired | — |
data[].amountnumberrequired | Amount in the major currency unit |
data[].currencystringrequired | — |
data[].balance_afternumber | nullrequired | Balance the merchant replied with |
data[].errorstring | nullrequired | Error returned by the merchant or failure reason |
data[].created_atstring (date-time)required | — |
metaobjectrequired | — |
meta.pagenumberrequired | — |
meta.limitnumberrequired | — |
meta.totalnumberrequired | — |
meta.totalPagesnumberrequired | — |
Response example
{
"success": true,
"message": "OK",
"statusCode": 200,
"data": [
{
"tx_id": "PGSOFT:982341:bet",
"ref_tx_id": "string",
"action": "bet",
"status": "pending",
"player_id": "user-123",
"provider": "PGSOFT",
"game": "fortune-tiger",
"round_id": "982341",
"amount": 0,
"currency": "BRL",
"balance_after": 0,
"error": "string",
"created_at": "2026-10-01T12:00:00.000Z"
}
],
"meta": {
"page": 1,
"limit": 50,
"total": 120,
"totalPages": 3
}
}| HTTP | Code (error.code) |
|---|---|
| 401 | MISSING_AUTH_HEADERSINVALID_MERCHANTMERCHANT_BLOCKEDREQUEST_EXPIREDINVALID_SIGNATURENONCE_REUSEDIP_NOT_ALLOWED |
| 422 | Body or query does not match the schema |
| 429 | RATE_LIMITED |
| 500 | LIST_TRANSACTIONS_FAILED |
| 503 | AUTH_UNAVAILABLE |
Error format and the meaning of each code in Errors.