Struct plaid::model::Counterparty
source · pub struct Counterparty {
pub confidence_level: Option<String>,
pub entity_id: Option<String>,
pub logo_url: Option<String>,
pub name: String,
pub phone_number: Option<String>,
pub type_: String,
pub website: Option<String>,
}
Expand description
The counterparty, such as the merchant or financial institution, is extracted by Plaid from the raw description.
Fields§
§confidence_level: Option<String>
A description of how confident we are that the provided counterparty is involved in the transaction.
VERY_HIGH
: We recognize this counterparty and we are more than 98% confident that it is involved in this transaction.
HIGH
: We recognize this counterparty and we are more than 90% confident that it is involved in this transaction.
MEDIUM
: We are moderately confident that this counterparty was involved in this transaction, but some details may differ from our records.
LOW
: We didn’t find a matching counterparty in our records, so we are returning a cleansed name parsed out of the request description.
UNKNOWN
: We don’t know the confidence level for this counterparty.
entity_id: Option<String>
A unique, stable, Plaid-generated ID that maps to the counterparty.
logo_url: Option<String>
The URL of a logo associated with the counterparty, if available. The logo will always be 100×100 pixel PNG file.
name: String
The name of the counterparty, such as the merchant or the financial institution, as extracted by Plaid from the raw description.
phone_number: Option<String>
The phone number associated with the primary_counterparty in E. 164 format. If there is a location match (i.e. a street address is returned in the location object), the phone number will be location specific.
type_: String
The counterparty type.
merchant
: a provider of goods or services for purchase
financial_institution
: a financial entity (bank, credit union, BNPL, fintech)
payment_app
: a transfer or P2P app (e.g. Zelle)
marketplace
: a marketplace (e.g DoorDash, Google Play Store)
payment_terminal
: a point-of-sale payment terminal (e.g Square, Toast)
income_source
: the payer in an income transaction (e.g., an employer, client, or government agency)
website: Option<String>
The website associated with the counterparty.
Trait Implementations§
source§impl Clone for Counterparty
impl Clone for Counterparty
source§fn clone(&self) -> Counterparty
fn clone(&self) -> Counterparty
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more