pub struct TreasuryInboundTransfer {Show 20 fields
pub amount: i64,
pub cancelable: bool,
pub created: i64,
pub currency: String,
pub description: Option<String>,
pub failure_details: Option<Value>,
pub financial_account: String,
pub hosted_regulatory_receipt_url: Option<String>,
pub id: String,
pub linked_flows: TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows,
pub livemode: bool,
pub metadata: Value,
pub object: String,
pub origin_payment_method: String,
pub origin_payment_method_details: Option<Value>,
pub returned: Option<bool>,
pub statement_descriptor: String,
pub status: String,
pub status_transitions: TreasuryInboundTransfersResourceInboundTransferResourceStatusTransitions,
pub transaction: Option<Value>,
}Expand description
Use InboundTransfers to add funds to your FinancialAccount via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
Fields§
§amount: i64Amount (in cents) transferred.
cancelable: boolReturns true if the InboundTransfer is able to be canceled.
created: i64Time at which the object was created. Measured in seconds since the Unix epoch.
currency: StringThree-letter ISO currency code, in lowercase. Must be a supported currency.
description: Option<String>An arbitrary string attached to the object. Often useful for displaying to users.
failure_details: Option<Value>Details about this InboundTransfer’s failure. Only set when status is failed.
financial_account: StringThe FinancialAccount that received the funds.
hosted_regulatory_receipt_url: Option<String>A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses.
id: StringUnique identifier for the object.
linked_flows: TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows§livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
metadata: ValueSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
object: StringString representing the object’s type. Objects of the same type share the same value.
origin_payment_method: StringThe origin payment method to be debited for an InboundTransfer.
origin_payment_method_details: Option<Value>Details about the PaymentMethod for an InboundTransfer.
returned: Option<bool>Returns true if the funds for an InboundTransfer were returned after the InboundTransfer went to the succeeded state.
statement_descriptor: StringStatement descriptor shown when funds are debited from the source. Not all payment networks support statement_descriptor.
status: StringStatus of the InboundTransfer: processing, succeeded, failed, and canceled. An InboundTransfer is processing if it is created and pending. The status changes to succeeded once the funds have been “confirmed” and a transaction is created and posted. The status changes to failed if the transfer fails.
status_transitions: TreasuryInboundTransfersResourceInboundTransferResourceStatusTransitions§transaction: Option<Value>The Transaction associated with this object.
Trait Implementations§
Source§impl Clone for TreasuryInboundTransfer
impl Clone for TreasuryInboundTransfer
Source§fn clone(&self) -> TreasuryInboundTransfer
fn clone(&self) -> TreasuryInboundTransfer
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more