Discussions

Ask a Question
Back to All

Determining Completion of Initial Fetch of Data

Hi

We integrate with your connections API to pull account information. We currently establish a connection and then directly use your data API to fetch all the information, we are not listening for webhooks.

We currently only fetch 3 months of transactions for each account, but we want to increase the amount to 12 month. We are now aware our current model of fetching data directly after connection won't work with 12 mo of transactions, I believe this is because your system immediately fetches 3mo of transactions on connection then loads the rest asynchronously?

Investigating how to integrate with your webhooks, everything on the 'newTransactions' event looks fine but we are having a problem determining when the initial fetch of transactions is complete, something that our system needs.

For example on connection a we received the following webhooks in this order:

  • newTransactions (containing first 3mo IDs)
  • syncComplete
  • reauthReminder
  • newTransactions (containing remaining IDs)
  • syncComplete

Using these webhooks how can we determine when the initial fetch of transactions is 'done'? For example, are there always two syncComplete events and we just need to wait for the second?

I attempted to submit a Jira support ticket again but no luck still.

Thanks in advance for your help.