API del operador

Historial de movimientos de billetera

get/v1/transactions

Historial paginado de los movimientos de billetera del merchant (lo que se envió al callback y el resultado).

Autenticación#

Solicitud firmada con HMAC-SHA256: encabezados X-Merchant-Id, X-Timestamp, X-Nonce y X-Signature. Consulta Autenticación.

Parámetros#

CampoDescripción
page
number
Página (empieza en 1)
mínimo 1 · predeterminado: 1
limit
number
Elementos por página
1–100 · predeterminado: 50
player_id
string
Id del jugador en el merchant
round_id
string
Ronda (round_id del callback)
tx_id
string
tx_id enviado en el callback de billetera
action
"bet" | "win" | "refund" | "rollback"
Acción del callback
status
"pending" | "success" | "failed"
pending = sin respuesta definitiva de la billetera; failed = rechazada
from
string (date-time)
Inicio (ISO 8601)
to
string (date-time)
Fin (ISO 8601, exclusivo)

Ejemplo#

# TALOS_API_HOST (sin /v1), TALOS_MERCHANT y TALOS_SECRET los entrega 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"

Respuestas#

200Éxito

CampoDescripción
success
trueobligatorio
—
message
stringobligatorio
—
statusCode
numberobligatorio
—
data
object[]obligatorio
—
data[].tx_id
stringobligatorio
Id del movimiento enviado en el callback de billetera
data[].ref_tx_id
string | nullobligatorio
tx_id del movimiento revertido (refund/rollback)
data[].action
"bet" | "win" | "refund" | "rollback"obligatorio
—
data[].status
"pending" | "success" | "failed"obligatorio
—
data[].player_id
stringobligatorio
—
data[].provider
stringobligatorio
—
data[].game
stringobligatorio
—
data[].round_id
stringobligatorio
—
data[].amount
numberobligatorio
Monto en la unidad mayor de la moneda
data[].currency
stringobligatorio
—
data[].balance_after
number | nullobligatorio
Saldo que respondió el merchant
data[].error
string | nullobligatorio
Error devuelto por el merchant o motivo de la falla
data[].created_at
string (date-time)obligatorio
—
meta
objectobligatorio
—
meta.page
numberobligatorio
—
meta.limit
numberobligatorio
—
meta.total
numberobligatorio
—
meta.totalPages
numberobligatorio
—
Ejemplo de respuesta
{
  "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
  }
}
HTTPCódigo (error.code)
401MISSING_AUTH_HEADERSINVALID_MERCHANTMERCHANT_BLOCKEDREQUEST_EXPIREDINVALID_SIGNATURENONCE_REUSEDIP_NOT_ALLOWED
422Cuerpo o query fuera del schema
429RATE_LIMITED
500LIST_TRANSACTIONS_FAILED
503AUTH_UNAVAILABLE

Formato de los errores y significado de cada código en Errores.