View Source Stripe.Treasury.TransactionEntry (stripity_stripe v3.2.0)
TransactionEntries represent individual units of money movements within a single Transaction.
Summary
Types
@type t() :: %Stripe.Treasury.TransactionEntry{ balance_impact: term(), created: integer(), currency: binary(), effective_at: integer(), financial_account: binary(), flow: binary() | nil, flow_details: term() | nil, flow_type: binary(), id: binary(), livemode: boolean(), object: binary(), transaction: binary() | Stripe.Treasury.Transaction.t(), type: binary() }
The treasury.transaction_entry type.
balance_impactcreatedTime at which the object was created. Measured in seconds since the Unix epoch.currencyThree-letter ISO currency code, in lowercase. Must be a supported currency.effective_atWhen the TransactionEntry will impact the FinancialAccount's balance.financial_accountThe FinancialAccount associated with this object.flowToken of the flow associated with the TransactionEntry.flow_detailsDetails of the flow associated with the TransactionEntry.flow_typeType of the flow associated with the TransactionEntry.idUnique identifier for the object.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.objectString representing the object's type. Objects of the same type share the same value.transactionThe Transaction associated with this object.typeThe specific money movement that generated the TransactionEntry.
Functions
@spec list( params :: %{ optional(:created) => created() | integer(), optional(:effective_at) => effective_at() | integer(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:financial_account) => binary(), optional(:limit) => integer(), optional(:order_by) => :created | :effective_at, optional(:starting_after) => binary(), optional(:transaction) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves a list of TransactionEntry objects.
Details
- Method: 
get - Path: 
/v1/treasury/transaction_entries 
@spec retrieve( id :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves a TransactionEntry object.
Details
- Method: 
get - Path: 
/v1/treasury/transaction_entries/{id}