...
To get only the fresh transactions (i.e. those which has not been downloaded yet or newly updated ones), good approach is to use updatedFrom
query parameter and store lastUpdated
the maximum value of the latest downloaded transaction lastUpdated
field among all downloaded transactions. Next time you should call the endpoint with stored value plus 1 millisecond.
Info |
---|
Very first download When the bank account is connected for the first time and the initial transactions download from the bank towards Everifin is started, the most recent transactions are stored at first. Download and storing of historical ones follows afterwards. As a result, the older transactions can have more recent timestamp in field Therefore, if you do not want to get historical transactions, you may combine parameter like |
Only new transactions
If you do not want to get updates described above, then you can use query parameter createdFrom
(ISO timestamp) and store value from field createdAt
of latest transaction. Next time you should call the endpoint with stored value plus 1 millisecond.
...