pub struct BankTransfer {
Show 17 fields pub id: BankTransferId, pub ach_class: AchClass, pub account_id: String, pub type_: BankTransferType, pub user: BankTransferUser, pub amount: BankTransferAmount, pub iso_currency_code: String, pub description: String, pub created: String, pub status: BankTransferStatus, pub network: BankTransferNetwork, pub cancellable: bool, pub failure_reason: Option<BankTransferFailure>, pub custom_tag: Option<String>, pub metadata: Option<BankTransferMetadata>, pub origination_account_id: String, pub direction: Option<BankTransferDirection>,
}

Fields

id: BankTransferId

Plaid’s unique identifier for a bank transfer.

ach_class: AchClass

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, eg. bill payment

"tel" - Telephone-Initiated Entry

"web" - Internet-Initiated Entry - debits from a consumer’s account where their authorization is obtained over the Internet

account_id: String

The account ID that should be credited/debited for this bank transfer.

type_: BankTransferType

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.

amount: BankTransferAmount

The amount of the bank transfer (decimal string with two digits of precision e.g. “10.00”).

iso_currency_code: String

The currency of the transfer amount, e.g. “USD”

description: String

The description of the transfer.

created: String

The datetime when this bank transfer was created. This will be of the form 2006-01-02T15:04:05Z

status: BankTransferStatus

The status of the transfer.

network: BankTransferNetwork

The network or rails used for the transfer. Valid options are ach, same-day-ach, or wire.

cancellable: bool

When true, you can still cancel this bank transfer.

failure_reason: Option<BankTransferFailure>

The failure reason if the type of this transfer is "failed" or "reversed". Null value otherwise.

custom_tag: Option<String>

A string containing the custom tag provided by the client in the create request. Will be null if not provided.

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
origination_account_id: String

Plaid’s unique identifier for the origination account that was used for this transfer.

direction: Option<BankTransferDirection>

Indicates the direction of the transfer: outbound for API-initiated transfers, or inbound for payments received by the FBO account.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more