Struct plaid::model::UserAccountRevokedWebhook
source · pub struct UserAccountRevokedWebhook {
pub account_id: String,
pub environment: String,
pub error: Option<PlaidError>,
pub item_id: String,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
The USER_ACCOUNT_REVOKED
webhook is fired when an end user has revoked access to their account on the Data Provider’s portal. The user can restore access to the revoked account by regranting permissions on the Data Provider’s portal. This webhook is currently in beta. It will be available in GA in Jan 2024.
Fields§
§account_id: String
The external account ID of the affected account
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
webhook_code: String
USER_ACCOUNT_REVOKED
webhook_type: String
ITEM
Trait Implementations§
source§impl Clone for UserAccountRevokedWebhook
impl Clone for UserAccountRevokedWebhook
source§fn clone(&self) -> UserAccountRevokedWebhook
fn clone(&self) -> UserAccountRevokedWebhook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more