Instruct Bud to retrieve the latest account information for a customer. Refresh the accounts from a single provider with an existing connection.
By default this task will retrieve transactions since the last pull of transactions less seven days. This can be overridden using the from
body parameter to a maximum of 90 days previously.
After initiating this long running process, make sure to check the status of the it till completion before trying to access the Customer's data or initiating another refresh.
If the customer's provider was fetched (connect or refresh) within the last hour, the endpoint will return the task_id of the previous task instead of refreshing the data again.
If the customer's consent has been revoked or expired for this provider, Bud will be unable to refresh the account.
This will be confirmed in the response of the refresh status endpoint associated with the task_id
provided in the response to this endpoint, where the reconnect_required
field will set to true
and status set to Completed
.