Struct plaid_openapi::model::Transfer
source · [−]pub struct Transfer {Show 18 fields
pub id: TransferId,
pub ach_class: AchClass,
pub account_id: String,
pub type_: TransferType,
pub user: TransferUserInResponse,
pub amount: TransferAmount,
pub description: String,
pub created: String,
pub status: TransferStatus,
pub sweep_status: Option<TransferSweepStatus>,
pub network: TransferNetwork,
pub cancellable: bool,
pub failure_reason: Option<TransferFailure>,
pub metadata: Option<TransferMetadata>,
pub origination_account_id: String,
pub guarantee_decision: Option<TransferAuthorizationGuaranteeDecision>,
pub guarantee_decision_rationale: Option<TransferAuthorizationGuaranteeDecisionRationale>,
pub iso_currency_code: String,
}Fields
id: TransferIdPlaid’s unique identifier for a transfer.
ach_class: AchClassSpecifies 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: StringThe account ID that should be credited/debited for this transfer.
type_: TransferTypeThe type of 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: TransferUserInResponseThe legal name and other information for the account holder.
amount: TransferAmountThe amount of the transfer (decimal string with two digits of precision e.g. “10.00”).
description: StringThe description of the transfer.
created: StringThe datetime when this transfer was created. This will be of the form 2006-01-02T15:04:05Z
status: TransferStatusThe status of the transfer.
sweep_status: Option<TransferSweepStatus>The status of the sweep for the transfer.
unswept: The transfer hasn’t been swept yet.
swept: The transfer was swept to the sweep account.
return_swept: The transfer was returned, funds were pulled back or pushed back to the sweep account.
null: The transfer will never be swept (e.g. if the transfer is cancelled or returned before being swept)
network: TransferNetworkThe network or rails used for the transfer. Valid options are ach or same-day-ach. The cutoff for same-day transfers is 7:45 AM Pacific Time and the cutoff for next-day transfers is 5:45 PM Pacific Time. It is recommended to submit a transfer at least 15 minutes before the cutoff time in order to ensure that it will be processed before the cutoff. Any transfer that is indicated as same-day-ach and that misses the same-day cutoff, but is submitted in time for the next-day cutoff, will be sent over next-day rails and will not incur same-day charges. Note that both legs of the transfer will be downgraded if applicable.
cancellable: boolWhen true, you can still cancel this transfer.
failure_reason: Option<TransferFailure>The failure reason if the event type for a transfer is "failed" or "returned". Null value otherwise.
metadata: Option<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
origination_account_id: StringPlaid’s unique identifier for the origination account that was used for this transfer.
guarantee_decision: Option<TransferAuthorizationGuaranteeDecision>Indicates whether the transfer is guaranteed by Plaid (Guaranteed ACH customers only). This field will contain either GUARANTEED or NOT_GUARANTEED indicating whether Plaid will guarantee the transfer. If the transfer is not guaranteed, additional information will be provided in the guarantee_decision_rationale field. Refer to the code field in guarantee_decision_rationale for details.
guarantee_decision_rationale: Option<TransferAuthorizationGuaranteeDecisionRationale>The rationale for Plaid’s decision to not guarantee a transfer. Will be null unless guarantee_decision is NOT_GUARANTEED.
iso_currency_code: StringThe currency of the transfer amount, e.g. “USD”
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Transfer
impl<'de> Deserialize<'de> for Transfer
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more