added

Stable Transaction Model

Beginning on Friday the 28th of May 2021, Akahu's /transactions and /accounts/{id}/transactions endpoints will begin serving transactions in a stable format.

The new model looks like this:

{
  "_id": "trans_1111111111111111111111111",
  "_account": "acc_1111111111111111111111111",
  "_connection": "conn_1111111111111111111111111",
  "created_at": "2020-01-01T01:00:00.000Z",
  "updated_at": "2020-01-01T01:00:00.000Z",
  "date": "2020-01-01T00:00:00.000Z",
  "description": "{RAW TRANSACTION DESCRIPTION}",
  "amount": -5.5,
  "balance": 100,
  "type": "EFTPOS"
}

This is essentially the same as what you get directly from the bank, with the description field containing the concatenation of any names or descriptions provided by the bank.

Enriched transactions are next up on our list, and will be coming soon!