transaction_id is unique for a transaction, it is subject to change between requests.
These fields that are used to generate a
- TrueLayer Account ID.
If any of the fields above change over time, the
transaction_id will also change.
What to do next?
In order to de-duplicate transactions on your side, try refreshing the transactions upon new requests, instead of comparing
If you refresh transactions daily and request the past 7 days of transactions in each request, replace the overlapping days (in this case, the previous 6 days of transactions) with the new list of transactions. This guarantees that you always have the most up-to-date list of transactions and no duplicates.