Skip to content

History

GET /api/s2s/history returns a player’s transaction ledger for reconciliation, support, and statements. It spans every money-affecting event LootBox Solutions records.

Request

GET https://{operator}.app.lootboxsolutions.com/api/s2s/history?playerExternalId=u_8431&limit=50
QueryRequiredNotes
playerExternalIdWhose history to return.
typesComma-separated filter: purchase, open, refund, cashback. Default: all.
from / toISO 8601 UTC bounds (inclusive).
limitPage size (default 50, max 200).
cursorOpaque cursor from a previous page.

Response — 200

{
"items": [
{
"id": "txn_01J…",
"type": "open",
"roundPublicId": "r_01J…",
"amountMinor": -500,
"payoutMinor": 320,
"currency": "EUR",
"status": "settled",
"idempotencyKey": "round:r_01J…",
"providerTxnRef": "txn_xyz",
"occurredAt": "2026-06-03T12:00:05Z"
},
{
"id": "txn_01H…",
"type": "cashback",
"inventoryItemId": 88,
"amountMinor": 320,
"currency": "EUR",
"status": "completed",
"occurredAt": "2026-06-03T12:05:00Z"
}
],
"cursor": { "next": "c_…", "prev": null }
}
FieldNotes
typepurchase (pre-pay), open (atomic or held→open), refund, cashback.
amountMinorSigned from the player’s perspective — negative = debited, positive = credited.
payoutMinorPresent on open rows that won.
roundPublicId / inventoryItemIdLinks to the underlying resource.
idempotencyKey / providerTxnRefThe keys you can reconcile against your own wallet ledger.
statusPer-row outcome (settled, held, voided, refunded, completed).

Reconciliation

idempotencyKey and providerTxnRef are the join keys between this ledger and your wallet’s ledger. Every money movement here corresponds to exactly one wallet RPC call with the same idempotencyKey. Pull history on a schedule and reconcile against your own records to catch any divergence.

LootBox Solutions holds no balance — this is an event ledger of what was instructed, not an account statement. Your wallet remains the source of truth for the actual balance.