What is an Auto Refresh Notification?

Auto or cache refresh is an offline account refresh mechanism performed by Yodlee to keep the accounts up-to-date. An auto refresh notification is triggered when the status of the cache refresh changes between enabled and disabled status and is also triggered if there is a change in the reason the cache refresh is disabled.The auto refresh notification is sent in intervals of 15 minutes. If the delivery of the notification fails, for the next 24 hours the system attempts to deliver the notification in intervals of 10, 20, 40, 80, 160 minutes, and so on. After 24 hours, the notification will expire.

Benefits of the Auto Refresh Notification

Subscribe to the Auto Refresh Notification

To receive notification about the change in the auto refresh status, you have to subscribe to the AUTO_REFRESH_UPDATES notification through the webhooks subscribe event service. When notified, you can retrieve more account information by calling the GET accounts service with a valid user session or token for the accountIds received in the notification.For more information, refer to the Auto Refresh Notification API Flow.Notes:

Event Payload Information

The notification payload includes user login name, account ID(s), status, and additional status. The following JSON payload will be sent to the callback URL and the content type will be application/json:

{
   "event":{
      "data":[
         {
            "autoRefresh":{
               "additionalStatus":"SCHEDULED",
               "status":"ENABLED"
            },
            "accountIds":[
               1112645899,
               1112645898
            ],
            "loginName":"YSL1555332811628",
            "providerAccountId":11381459
         }
      ],
      "notificationTime":"2019-06-14T04:49:39Z",
      "notificationId":"4e672150-156048777",
      "info":"AUTO_REFRESH_UPDATES"
   }
}

Event Attributes

There will be two notification payloads if the status and additionalStatus vary between accounts of the same providerAccount. If for a particular period there were two different refresh status changes, the payload will only have the latest change.

Auto Refresh Notification API Flow

Untitled