Struct plaid::model::UserPermissionRevokedWebhook
source · pub struct UserPermissionRevokedWebhook {
pub environment: String,
pub error: Option<PlaidError>,
pub item_id: String,
pub webhook_code: String,
pub webhook_type: String,
}
Expand description
The USER_PERMISSION_REVOKED
webhook may be fired when an end user has used either the my.plaid.com portal or the financial institution’s OAuth consent portal to revoke the permission that they previously granted to access an Item. This webhook is not guaranteed to always be fired upon consent revocation, since some institutions’ consent portals do not trigger this webhook. Once access to an Item has been revoked, it cannot be restored. If the user subsequently returns to your application, a new Item must be created for the user.
Fields§
§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_PERMISSION_REVOKED
webhook_type: String
ITEM
Trait Implementations§
source§impl Clone for UserPermissionRevokedWebhook
impl Clone for UserPermissionRevokedWebhook
source§fn clone(&self) -> UserPermissionRevokedWebhook
fn clone(&self) -> UserPermissionRevokedWebhook
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more