pub struct ProcessorTransactionsRemovedWebhook {
pub account_id: String,
pub environment: WebhookEnvironmentValues,
pub error: Option<PlaidError>,
pub removed_transactions: Vec<String>,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
This webhook is only sent to Plaid processor partners.
Fired when transaction(s) for an Item are deleted. The deleted transaction IDs are included in the webhook payload. Plaid will typically check for deleted transaction data several times a day.
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: WebhookEnvironmentValues
The Plaid environment the webhook was sent from
error: Option<PlaidError>
Errors are identified by error_code
and categorized by error_type
. Use these in preference to HTTP status codes to identify and handle specific errors. HTTP status codes are set and provide the broadest categorization of errors: 4xx codes are for developer- or user-related errors, and 5xx codes are for Plaid-related errors, and the status will be 2xx in non-error cases. 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.
removed_transactions: Vec<String>
An array of transaction_ids
corresponding to the removed transactions
webhook_code: String
TRANSACTIONS_REMOVED
webhook_type: String
TRANSACTIONS
Trait Implementations§
Source§impl Clone for ProcessorTransactionsRemovedWebhook
impl Clone for ProcessorTransactionsRemovedWebhook
Source§fn clone(&self) -> ProcessorTransactionsRemovedWebhook
fn clone(&self) -> ProcessorTransactionsRemovedWebhook
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more