Retrieve the balance history of an organization

Fetch the balance history of an organization by providing its unique ID. This endpoint returns the historical balance changes for the organization.

GET
/organizations/{organizationId}/balance/history
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Unique identifier of the organization

Query Parameters

interval?string

Time interval for grouping time-series statistics and analytics data

Default"week"
Value in"hour" | "day" | "week" | "month" | "year"
time_range?string

Time range for filtering statistics and analytics data

Default"all"
Value in"all" | "today" | "week" | "month" | "year"
limit?integer

How many items to return at one time (max 100)

Formatint64
when_created[$gt]?string
Formatdate-time
when_created[$lt]?string
Formatdate-time
when_created[$gte]?string
Formatdate-time
when_created[$lte]?string
Formatdate-time

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/organizations/string/balance/history"
{
  "history": [
    {
      "when": "2019-08-24T14:15:22Z",
      "amount": "string"
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}