plaid / pattern

An example end-to-end Plaid integration to create items and fetch transaction data
MIT License
435 stars 217 forks source link

Question on unsubscribing webhook / transaction updates for user (that has been deleted) #201

Closed johndpope closed 2 years ago

johndpope commented 2 years ago

Is this accommodated out of the box? when I hit delete user


     const items = await retrieveItemsByUser(userId);
     await Promise.all(
       items.map(({ plaid_access_token: token }) =>
         plaid.itemRemove({ access_token: token })
       )
     );

these items are deleted from database - how to tell plaid server to never send updates?

johndpope commented 2 years ago

/**