Skip to content

3.2 Wallet Transfer Records API

http
GET /api/v1/exchange/report/transfer-wallet-transactions

Query transfer wallet transaction records (bet deductions, payouts, refunds, deposits, withdrawals, etc.) by time range with pagination. Data comes from the historical store and may lag by a few seconds; the most recent 6 months are retained. Requests must include the HMAC authentication headers.

TIP

This API is rate-limited to 100 requests / minute (per api_key); exceeding it returns code:10060.

Request Parameters (Query String)

FieldRequiredTypeDescription
start_timeTRUEstringStart time (≥), RFC3339 UTC, e.g. 2026-05-19T00:00:00Z
end_timeTRUEstringEnd time (≤), RFC3339 UTC, must be later than start_time; the span cannot exceed 90 days
source_idFALSEstringSource ID (ticket / reference number)
order_idFALSEstringSearch for records containing this exchange order ID
player_idFALSEstringInternal player ID (UUID)
player_nameFALSEstringPlayer name
transaction_typeFALSEstringTransaction type (see enum below)
page / page_sizeFALSEintegerPagination; page starts at 1, default 1; page_size defaults to 10, max 200, values ≤0 or >200 fall back to 10

The agent dimension is locked automatically by the system based on api_key; it cannot and need not be specified via parameters.

Response data

data contains items[] (transaction records) and pagination fields (total / page / page_size / total_pages).

json
{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "player_id": "45d3d8eb-1a95-4e47-9315-bc507ea06d65",
        "player_external_id": "player1",
        "player_name": "player1_name",
        "agent_id": "bea4274e-4333-423c-a8e8-4c203d256d2c",
        "agent_name": "agent_demo",
        "transaction_type": "EXCHANGE_TRANSACTION_TYPE_BET_DEDUCT",
        "currency": "CNY",
        "amount": "-100",
        "balance_after": "900",
        "created_at": "2026-05-20T10:00:00Z"
      }
    ],
    "total": 1,
    "page": 1,
    "page_size": 10,
    "total_pages": 1
  }
}

items[] fields

FieldTypeDescription
player_idstringInternal player ID (UUID)
player_external_idstringPlayer ID
player_namestringPlayer name
agent_idstringInternal agent ID (UUID)
agent_namestringAgent name
transaction_typestringTransaction type (enum, see below)
currencystringCurrency
amountstringAmount change (may be negative, e.g. bet deduction)
balance_afterstringBalance after this change
created_atstringTransaction time (RFC3339 UTC)

Enums

Transaction type transaction_type (prefix EXCHANGE_TRANSACTION_TYPE_)

ValueDescription
BET_DEDUCTBet deduction
SETTLEMENT_PAYOUTSettlement payout
RE_SETTLEMENT_PAYOUTRe-settlement payout
ROLLBACK_CLAWBACKSettlement rollback clawback
PLAYER_CANCEL_REFUNDPlayer cancellation refund
HEDGE_REFUNDHedge refund
BET_CANCEL_VOID_REFUNDBet void refund
MARKET_SUSPEND_REFUNDMarket suspension refund
MTS_REJECT_REFUNDMTS rejection refund
DEPOSITDeposit
WITHDRAWWithdrawal

BFX EXCHANGE · BE THE GAME CHANGER