Class used to call the Webhook sub-product
Sections
    
  
  
    
    Namespace
    
  
  
    
    Methods
    - U
        Public
      
    
    
    
    
    
    
    
      Instance Public methods
      
        
            
              update(access_token, webhook)
            
            Link
          
          
            Update webhook for an access_token.
Does a POST /item/webhook/update call which is used to update webhook for a particular access_token. Webhooks are used to be notified when transactions for an item are updated and ready.
- access_token
- 
The access_token of an item to update webhook for. 
- webhook
- 
The new webhook link. 
Returns
Returns an UpdateResponse object with either an ItemStatus or MFA response.
Source: show
# File lib/plaid/products/item.rb, line 103 def update(access_token, webhook) post_with_auth 'item/webhook/update', UpdateResponse, access_token: access_token, webhook: webhook end