Struct plaid::model::ProcessorInitialUpdateWebhook
source · pub struct ProcessorInitialUpdateWebhook {
pub account_id: String,
pub environment: String,
pub error: Option<String>,
pub new_transactions: f64,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
This webhook is only sent to Plaid processor partners.
Fired when an Item’s initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If Account Select v2 is enabled, this webhook will also be fired if account selections for the Item are updated, with new_transactions
set to the number of net new transactions pulled after the account selection update.
This webhook is intended for use with /processor/transactions/get
; if you are using the newer /processor/transactions/sync
endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the SYNC_UPDATES_AVAILABLE
webhook instead.
Fields§
§account_id: String
The ID of the account.
environment: String
The Plaid environment the webhook was sent from
error: Option<String>
The error code associated with the webhook.
new_transactions: f64
The number of new, unfetched transactions available.
webhook_code: String
INITIAL_UPDATE
webhook_type: String
TRANSACTIONS
Trait Implementations§
source§impl Clone for ProcessorInitialUpdateWebhook
impl Clone for ProcessorInitialUpdateWebhook
source§fn clone(&self) -> ProcessorInitialUpdateWebhook
fn clone(&self) -> ProcessorInitialUpdateWebhook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more