Skip to content

(NEW) Get all fees

Request

Returns the fee transactions accrued by the logged-in identity — every FeeTransaction posted against any of the identity's instruments, filterable by time window.

For surfaces that need fees inline with their parent activity, the same FeeTransaction records are also exposed via the Transaction Activity API and on Statements V2.

Security
auth_token and api-key
Query
offsetinteger, (int32), >= 0

The offset value for paging, indicating the initial item number to be returned from the data set satisfying the given criteria. Leave out to fetch the first page of results.

limitinteger, (int32), [ 1 .. 100 ]

The limit of the results for paging, starting at the offset. Limit is always capped at 100.

creationTimestampFrominteger, (int64)

Filter for transactions created after this timestamp. Epoch timestamp using millisecond precision.

creationTimestampTointeger, (int64)

Filter for transactions created before this timestamp. Epoch timestamp using millisecond precision.

sortOrderstring

Sort order for the results:

  • ASC: Ascending order, oldest first.
  • DESC: Descending order, most recent first.
Enum:"ASC""DESC"
curl -i -X GET \
  'https://sandbox.weavr.io/multi/fees?offset=0&limit=1&creationTimestampFrom=0&creationTimestampTo=0&sortOrder=ASC' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

Success

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Bodyapplication/json
feesArray of objects(FeeTransaction)
countinteger, (int64)

The total number of records matching the filter criteria.

responseCountinteger, (int64)
Response
{ "fees": [ { … } ], "count": 0, "responseCount": 0 }