Struct plaid::model::InvestmentsDefaultUpdateWebhook
source · pub struct InvestmentsDefaultUpdateWebhook {
pub canceled_investments_transactions: f64,
pub environment: String,
pub error: Option<PlaidError>,
pub item_id: String,
pub new_investments_transactions: f64,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
Fired when new transactions have been detected on an investment account.
Fields§
§canceled_investments_transactions: f64
The number of canceled transactions reported since the last time this webhook was fired.
environment: String
The Plaid environment the webhook was sent from
error: Option<PlaidError>
We use standard HTTP response codes for success and failure notifications, and our errors are further classified by error_type
. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. An Item with a non-null
error object will only be part of an API response when calling /item/get
to view Item status. Otherwise, error fields will be null
if no error has occurred; if an error has occurred, an error code will be returned instead.
item_id: String
The item_id
of the Item associated with this webhook, warning, or error
new_investments_transactions: f64
The number of new transactions reported since the last time this webhook was fired.
webhook_code: String
DEFAULT_UPDATE
webhook_type: String
INVESTMENTS_TRANSACTIONS
Trait Implementations§
source§impl Clone for InvestmentsDefaultUpdateWebhook
impl Clone for InvestmentsDefaultUpdateWebhook
source§fn clone(&self) -> InvestmentsDefaultUpdateWebhook
fn clone(&self) -> InvestmentsDefaultUpdateWebhook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more