How to Enable or Disable the Nightly Refresh

Modified on Tue, 17 Aug, 2021 at 4:04 PM

There are 2 ways on how to activate and deactivate the Nightly Refresh (also called Scheduled or Background Refresh).


 

1. With Flinks Connect
You can use the ScheduleRefresh to schedule a nightly refresh of an account. Setting this parameter to true will activate the schedule refresh and setting it to false it will deactivate it.



 


You can learn more about this parameter in our documentation.


 


*Take special attention for the FLINKS_CODE field to catch any specific errors that happened during the refresh. Based on the error code you get, you might have to ask the user to update his credentials. If you use Flinks Connect you can simply present it to the user to do the onboarding again; our database will be updated with the latest.


 


2. With an endpoint on the API

You can use the endpoint SetScheduledRefresh with your LoginId to set it at true to activate it or false to deactivate it.


This endpoint is for bank accounts that have been previously connected and saved, since you need the LoginId. Note that this endpoint is using with a PATCH HTTP method.


Here's an example to activate the schedule refresh for a card (account):


 


And here's to deactivate:





 




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article