pub struct TransferIntentCreate {
    pub id: String,
    pub created: String,
    pub status: String,
    pub account_id: Option<String>,
    pub origination_account_id: String,
    pub amount: TransferAmount,
    pub mode: TransferIntentCreateMode,
    pub ach_class: ACHClass,
    pub user: TransferUserInResponse,
    pub description: String,
    pub metadata: TransferMetadata,
    pub iso_currency_code: String,
}

Fields

id: String

Plaid’s unique identifier for the transfer intent object.

created: String

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

status: String

The status of the transfer intent.

  • PENDING – The transfer intent is pending.
  • SUCCEEDED – The transfer intent was successfully created.
  • FAILED – The transfer intent was unable to be created.
account_id: Option<String>

The Plaid account_id for the account that will be debited or credited. Returned only if account_id was set on intent creation.

origination_account_id: String

Plaid’s unique identifier for the origination account for the intent. If not provided, the default account will be used.

amount: TransferAmount

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

mode: TransferIntentCreateMode

The direction of the flow of transfer funds.

  • PAYMENT – Transfers funds from an end user’s account to your business account.

  • DISBURSEMENT – Transfers funds from your business account to an end user’s account.

ach_class: ACHClass

Specifies the use case of the transfer. Required for transfers on an ACH network. In Sandbox, only ccd, ppd, or web can be used.

"arc" - Accounts Receivable Entry

"cbr“ - Cross Border Entry

"ccd" - Corporate Credit or Debit - fund transfer between two corporate bank accounts

"cie" - Customer Initiated Entry

"cor" - Automated Notification of Change

"ctx" - Corporate Trade Exchange

"iat" - International

"mte" - Machine Transfer Entry

"pbr" - Cross Border Entry

"pop" - Point-of-Purchase Entry

"pos" - Point-of-Sale Entry

"ppd" - Prearranged Payment or Deposit - the transfer is part of a pre-existing relationship with a consumer, eg. bill payment

"rck" - Re-presented Check Entry

"tel" - Telephone-Initiated Entry

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

user: TransferUserInResponse

The legal name and other information for the account holder.

description: String

A description for the underlying transfer. Maximum of 8 characters.

metadata: TransferMetadata

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

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

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