NAME

Net::API::Stripe::Treasury::TransactionEntry - The TransactionEntry object

SYNOPSIS

VERSION

v0.1.0

DESCRIPTION

TransactionEntries represent individual units of money movements within a single Transaction.

METHODS

id string

Unique identifier for the object.

object string

String representing the object's type. Objects of the same type share the same value.

balance_impact hash

The current impact of the TransactionEntry on the FinancialAccount's balance.

It has the following properties:

cash integer

The change made to funds the user can spend right now.

inbound_pending integer

The change made to funds that are not spendable yet, but will become available at a later time.

outbound_pending integer

The change made to funds in the account, but not spendable because they are being held for pending outbound flows.

created timestamp

Time at which the object was created. Measured in seconds since the Unix epoch.

currency currency

Three-letter ISO currency code, in lowercase. Must be a supported currency.

effective_at timestamp

When the TransactionEntry will impact the FinancialAccount's balance.

financial_account string

The FinancialAccount associated with this object.

flow string

Token of the flow associated with the TransactionEntry.

flow_details hash

Details of the flow associated with the TransactionEntry.

It has the following properties:

credit_reversal hash

The CreditReversal object associated with the Transaction. Set if type=credit_reversal.

When expanded, this is a Net::API::Stripe::Treasury::CreditReversal object.

debit_reversal hash

The DebitReversal object associated with the Transaction. Set if type=debit_reversal.

When expanded, this is a Net::API::Stripe::Treasury::DebitReversal object.

inbound_transfer hash

The InboundTransfer object associated with the Transaction. Set if type=inbound_transfer.

When expanded, this is a Net::API::Stripe::Treasury::InboundTransfer object.

issuing_authorization hash

The Issuing authorization object associated with the Transaction. Set if type=issuing_authorization.

outbound_payment hash

The OutboundPayment object associated with the Transaction. Set if type=outbound_payment.

When expanded, this is a Net::API::Stripe::Treasury::OutboundPayment object.

outbound_transfer hash

The OutboundTransfer object associated with the Transaction. Set if type=outbound_transfer.

When expanded, this is a Net::API::Stripe::Treasury::OutboundTransfer object.

received_credit hash

The ReceivedCredit object associated with the Transaction. Set if type=received_credit.

When expanded, this is a Net::API::Stripe::Treasury::ReceivedCredit object.

received_debit hash

The ReceivedDebit object associated with the Transaction. Set if type=received_debit.

When expanded, this is a Net::API::Stripe::Treasury::ReceivedDebit object.

type string

Type of the flow that created the Transaction. Set to the same value as flow_type.

flow_type string

Type of the flow associated with the TransactionEntry.

livemode boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

transaction expandable

The Transaction associated with this object.

When expanded this is an Net::API::Stripe::Treasury::Transaction object.

type string

The specific money movement that generated the TransactionEntry.

API SAMPLE

[ { "balance_impact" : { "cash" : "0", "inbound_pending" : "0", "outbound_pending" : "-1000" }, "created" : "1662261086", "currency" : "usd", "effective_at" : "1662261086", "financial_account" : "fa_1Le9F32eZvKYlo2CjbQcDQUE", "flow" : "obt_1Le9F32eZvKYlo2CPQD5jo2F", "flow_type" : "outbound_transfer", "id" : "trxne_1Le9F42eZvKYlo2CjTLEfFll", "livemode" : 0, "object" : "treasury.transaction_entry", "transaction" : "trxn_1Le9F32eZvKYlo2C2dtkse82", "type" : "outbound_transfer" } ]

HISTORY

v0.1.0

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation

COPYRIGHT & LICENSE

Copyright (c) 2019-2022 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.