The activity objects represent how the wallet balance is changing over time.

Activity Object

{
  "_id": "63dd072cfc17230007baabe0",
  "wallet": "63d211c12abcb85f9c634b6e",
  "amount": -3440,
  "currency": "EUR",
  "type": "session",
  "session": "63dd0691c20c103e096a6a43",
  "createdAt": "2023-02-03T13:07:56.790Z",
  "updatedAt": "2023-02-03T13:08:01.838Z"
}

Attributes

_id string

The Id of this Activity/Top Up

wallet string

The Id of this Activity's Wallet

amount number

transaction/activity amount. Negative = Debited and Positive = Credited

currency string

3 letter iso currency codes. See https://en.wikipedia.org/wiki/ISO_4217. If you do not see your currency listed, please contact support.

type string

Either session or top_up

session string

Present if type = session. The Id of the session