Module
Plaid.ItemManagement
- Package
- purescript-plaid-node
- Repository
- piq9117/purescript-plaid-node
#getAccounts Source
getAccounts :: PlaidClient -> AccessToken -> Aff (Response (Either ResponseFormatError Json))Pull the accounts associated with the Item.
#getItem Source
getItem :: PlaidClient -> AccessToken -> Aff (Response (Either ResponseFormatError Json))Pull the information about the Item.
#updateWebHook Source
updateWebHook :: PlaidClient -> AccessToken -> WebHook -> Aff (Response (Either ResponseFormatError Json))Update the webhook associated with the Item.
#invalidateAccesToken Source
invalidateAccesToken :: PlaidClient -> AccessToken -> Aff (Response (Either ResponseFormatError Json))Rotate Access Token.
By default, the access_token associated with an Item does not expire
and should be stored in a persistent, secure manner.
This function can be used to rotate the access_token associated with an
Item. It returns a new access_token and immediately invalidates the
previous access_token.
#removeItem Source
removeItem :: PlaidClient -> AccessToken -> Aff (Response (Either ResponseFormatError Json))Remove an Item
Once an item is removed, the access_token associated with the Item is
no longer valid and cannote be used to access any data that was associated
with the Item.