Improved exposure of when an account was refreshed

We say an account has been "refreshed" when we have just gone to the bank and retrieved the latest balance, metadata and transactions.

Today we are making it clearer when an account was last refreshed by adding a refreshed property to accounts, which will look something like this (depending on your permissions):

  "_id": "acc_1111111111111111111111111",
  // ... other account properties ... //
  "refreshed": {
    "balance": "2021-01-01T12:00:00.000Z",
    "meta": "2021-01-01T12:00:00.000Z",
    "transactions": "2021-01-01T12:00:00.000Z"

As part of this change we are deprecating the existing account.balance.updated_at property, which will be removed on the 22nd of August 2021.

We hope this makes working with our accounts and transactions cleaner and more pleasant!