Struct plaid::model::BankTransfer
source · pub struct BankTransfer {Show 17 fields
pub account_id: String,
pub ach_class: String,
pub amount: String,
pub cancellable: bool,
pub created: DateTime<Utc>,
pub custom_tag: Option<String>,
pub description: String,
pub direction: Option<BankTransferDirection>,
pub failure_reason: Option<BankTransferFailure>,
pub id: String,
pub iso_currency_code: String,
pub metadata: Option<BankTransferMetadata>,
pub network: String,
pub origination_account_id: String,
pub status: String,
pub type_: String,
pub user: BankTransferUser,
}
Expand description
Represents a bank transfer within the Bank Transfers API.
Fields§
§account_id: String
The account ID that should be credited/debited for this bank transfer.
ach_class: String
Specifies the use case of the transfer. Required for transfers on an ACH network.
"ccd"
- Corporate Credit or Debit - fund transfer between two corporate bank accounts
"ppd"
- Prearranged Payment or Deposit - the transfer is part of a pre-existing relationship with a consumer, e.g. bill payment
"tel"
- Telephone-Initiated Entry
"web"
- Internet-Initiated Entry - debits from a consumer’s account where their authorization is obtained over the Internet
amount: String
The amount of the bank transfer (decimal string with two digits of precision e.g. “10.00”).
cancellable: bool
When true
, you can still cancel this bank transfer.
created: DateTime<Utc>
The datetime when this bank transfer was created. This will be of the form 2006-01-02T15:04:05Z
custom_tag: Option<String>
A string containing the custom tag provided by the client in the create request. Will be null if not provided.
description: String
The description of the transfer.
direction: Option<BankTransferDirection>
Indicates the direction of the transfer: outbound
for API-initiated transfers, or inbound
for payments received by the FBO account.
failure_reason: Option<BankTransferFailure>
The failure reason if the type of this transfer is "failed"
or "reversed"
. Null value otherwise.
id: String
Plaid’s unique identifier for a bank transfer.
iso_currency_code: String
The currency of the transfer amount, e.g. “USD”
metadata: Option<BankTransferMetadata>
The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters
network: String
The network or rails used for the transfer. Valid options are ach
, same-day-ach
, or wire
.
origination_account_id: String
Plaid’s unique identifier for the origination account that was used for this transfer.
status: String
The status of the transfer.
type_: String
The type of bank transfer. This will be either debit
or credit
. A debit
indicates a transfer of money into the origination account; a credit
indicates a transfer of money out of the origination account.
user: BankTransferUser
The legal name and other information for the account holder.
Trait Implementations§
source§impl Clone for BankTransfer
impl Clone for BankTransfer
source§fn clone(&self) -> BankTransfer
fn clone(&self) -> BankTransfer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more