📘

This specified endpoint is available only by proxy action.

{
  "action": "proxy",
  "module": "balances",
  "path": "bitbay/history",
  "token": "65156576-5672-44b9-9be8-627b5a2cb7c5",
  "requestId": "275d5e67-b40b-6b10-faa7-7bf42dfd050f",
  "queryString": "query={\"balancesId\":null,\"balanceCurrencies\":[\"BTC\",\"BCC\",\"BSV\",\"ETH\",\"LTC\",\"XMR\",\"ZEC\",\"XIN\",\"BTG\",\"FTO\",\"DASH\",\"XLM\",\"TRX\",\"GAME\",\"XRP\",\"KZC\",\"OMG\",\"GNT\",\"ZRX\",\"BAT\",\"REP\",\"PAY\",\"NEU\",\"AMLT\",\"EXY\",\"BOB\",\"LML\",\"BCP\",\"XBX\",\"MKR\",\"NPXS\",\"LINK\",\"SRN\",\"ALG\",\"GGC\",\"USDC\",\"PLN\",\"EUR\",\"USD\",\"GBP\"],\"balanceTypes\":null,\"users\":null,\"fromTime\":null,\"toTime\":null,\"limit\":20,\"offset\":0,\"types\":null,\"sort\":[{\"order\":\"DESC\",\"by\":\"time\"}],\"hasNextPage\":false}",
  "operation-id": "edcf326e-eb35-c1f0-b3f2-7323ec41c109"
}
{
  "action": "proxy-response",
  "requestId": "275d5e67-b40b-6b10-faa7-7bf42dfd050f",
  "statusCode": 200,
  "body": {
    "status": "Ok",
    "items": [
      {
        "historyId": "de3153e7-fda5-4e0c-b564-86502cc35446",
        "balance": {
          "id": "69d14efe-0b1b-413f-ada4-4a8a975b7d76",
          "currency": "PLN",
          "type": "FIAT",
          "userId": "b47f9af4-081d-4f5d-8cd7-9f3a1411d2e2",
          "name": "PLNzx123"
        },
        "detailId": "7f556c87-2328-11ea-aa45-0242ac110006",
        "time": 1576846743166,
        "type": "TRANSACTION_POST_OUTCOME",
        "value": -1027.77,
        "fundsBefore": {
          "total": 6662933190.76,
          "available": 6662877404.99,
          "locked": 55785.77
        },
        "fundsAfter": {
          "total": 6662932162.99,
          "available": 6662877404.99,
          "locked": 54758
        },
        "change": {
          "total": -1027.77,
          "available": 0,
          "locked": -1027.77
        }
      }
    ],
    "hasNextPage": true,
    "fetchedRows": 20,
    "limit": 20,
    "offset": 0,
    "queryTime": 1,
    "totalTime": 3,
    "settings": {
      "balancesId": null,
      "balanceCurrencies": [
        "BTC",
        "GBP"
      ],
      "balanceTypes": [],
      "users": [
        "b47f9af4-081d-4f5d-8cd7-9f3a1411d2e2"
      ],
      "getHidden": false,
      "engine": "BITBAY",
      "fromTime": null,
      "toTime": null,
      "absValue": false,
      "fromValue": null,
      "toValue": null,
      "sort": [
        {
          "by": "time",
          "order": "DESC"
        }
      ],
      "limit": 20,
      "offset": 0,
      "types": null,
      "notUsingSlowTypes": false
    },
    "errors": null
  }
}

Snapshot Query Params

balancesId
array of strings

Array of wallets UUID to get an informations about.

balanceCurrencies
array of strings

Array of currencies.

fromTime
date-time

Unix timestamp from which the operations start.

toTime
date-time

Unix timestamp for which they end.

fromValue
float

Minimal transaction price to be filtred.

toValue
float

Maximal transaction price to be filtred.

balanceTypes
string

Type of wallet: fiat / crypto.

types
array of strings

Array of operation types. The whole operations list is available below.

sort
array of objects

Array of sorting parameters: by - to which value sort by, order - type of sort: ASC/DESC.

**Response details are the same as for [GET balances/BITBAY/history]