View Source Stripe.Treasury.TransactionEntry (Striped v0.4.0)
TransactionEntries represent individual units of money movements within a single Transaction.
Link to this section Summary
Link to this section 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_impact
created
Time at which the object was created. Measured in seconds since the Unix epoch.currency
Three-letter ISO currency code, in lowercase. Must be a supported currency.effective_at
When the TransactionEntry will impact the FinancialAccount's balance.financial_account
The FinancialAccount associated with this object.flow
Token of the flow associated with the TransactionEntry.flow_details
Details of the flow associated with the TransactionEntry.flow_type
Type of the flow associated with the TransactionEntry.id
Unique identifier for the object.livemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.object
String representing the object's type. Objects of the same type share the same value.transaction
The Transaction associated with this object.type
The specific money movement that generated the TransactionEntry.
Link to this section Functions
@spec list( client :: Stripe.t(), 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( client :: Stripe.t(), 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}