Перейти к содержимому

Balance movement log

Запрос

Every change to the company balance — deposits, order settlements, holds, refunds, card operations. This is the reconciliation source of truth: it shows when money actually moved.

deltaBalance is the change to the available balance (zero means no money moved, e.g. a hold was merely released); deltaFrozen is the change to the held amount. referenceId points at whatever the entry is about — orderId, depositId, rechargeId or cardId.

Newest first, cursor pagination via before. New operationType values get added over time — render an unknown one as-is rather than treating it as an error.

Безопасность
apiKeyAuth
Запрос
operationTypestring

Exact match, e.g. order_success_settlement.

fromstring, (date-time)

ISO-8601. Only entries with createdAt >= from.

tostring, (date-time)

ISO-8601. Only entries with createdAt <= to.

limitinteger, [ 1 .. 200 ]
По умолчанию:50
beforestring, (date-time)

Cursor — entries with createdAt < before.

curl -i -X GET \
  'https://b2b-app.lumowallet.io/_mock/apis/wallets/balance-history?operationType=string&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&limit=50&before=2019-08-24T14%3A15%3A22Z' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Ответы

Balance history page

Телоapplication/json
entriesArray of objects(BalanceHistoryEntry)обязательный
Response
{ "entries": [ {} ] }