Attributes
- idstring
Unique identifier for the object.
- objectstring
String representing the object’s type. Objects of the same type share the same value.
- balance_
impactobject The current impact of the TransactionEntry on the FinancialAccount’s balance.
- createdtimestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- effective_
attimestamp When the TransactionEntry will impact the FinancialAccount’s balance.
- financial_
accountstring The FinancialAccount associated with this object.
- flownullable string
Token of the flow associated with the TransactionEntry.
- flow_
detailsnullable objectExpandable Details of the flow associated with the TransactionEntry.
- flow_
typeenum Type of the flow associated with the TransactionEntry.
Possible enum valuescredit_reversal The Transaction is associated with a CreditReversal.
debit_reversal The Transaction is associated with a DebitReversal.
inbound_transfer The Transaction is associated with an InboundTransfer.
issuing_authorization The Transaction is associated with an Issuing authorization.
otherThe Transaction is associated with some other money movement not listed above.
outbound_payment The Transaction is associated with an OutboundPayment.
outbound_transfer The Transaction is associated with an OutboundTransfer.
received_credit The Transaction is associated with a ReceivedCredit.
received_debit The Transaction is associated with a ReceivedDebit.
- livemodeboolean
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - transactionstringExpandable
The Transaction associated with this object.
- typeenum
The specific money movement that generated the TransactionEntry.
Possible enum valuescredit_reversal The TransactionEntry was generated by a CreditReversal.
credit_reversal_ posting The TransactionEntry was generated by a posted CreditReversal.
debit_reversal The TransactionEntry was generated by a DebitReversal.
inbound_transfer The TransactionEntry was generated by an InboundTransfer.
inbound_transfer_ return The TransactionEntry was generated by an InboundTransferReturn.
issuing_authorization_ hold The TransactionEntry was generated by an Issuing authorization hold.
issuing_authorization_ release The TransactionEntry was generated by an Issuing authorization release.
otherThe TransactionEntry was generated by some other money movement.
outbound_payment The TransactionEntry was generated by an OutboundPayment.
outbound_payment_ cancellation The TransactionEntry was generated by a cancelled OutboundPayment.
Show 10 more
{ "id": "trxne_1MtkgV2eZvKYlo2CmofEnIwJ", "object": "treasury.transaction_entry", "balance_impact": { "cash": 0, "inbound_pending": 0, "outbound_pending": -1000 }, "created": 1680756271, "currency": "usd", "effective_at": 1680756271, "financial_account": "fa_1MtkgV2eZvKYlo2CdxyvnHeQ", "flow": "obt_1MtkgV2eZvKYlo2CCxhXVFLB", "flow_type": "outbound_transfer", "livemode": false, "transaction": "trxn_1MtkgV2eZvKYlo2CRYxD7KLh", "type": "outbound_transfer"}Retrieves a TransactionEntry object.
Parameters
No parameters.
Returns
Returns a TransactionEntry object.
{ "id": "trxne_1MtkgV2eZvKYlo2CmofEnIwJ", "object": "treasury.transaction_entry", "balance_impact": { "cash": 0, "inbound_pending": 0, "outbound_pending": -1000 }, "created": 1680756271, "currency": "usd", "effective_at": 1680756271, "financial_account": "fa_1MtkgV2eZvKYlo2CdxyvnHeQ", "flow": "obt_1MtkgV2eZvKYlo2CCxhXVFLB", "flow_type": "outbound_transfer", "livemode": false, "transaction": "trxn_1MtkgV2eZvKYlo2CRYxD7KLh", "type": "outbound_transfer"}Retrieves a list of TransactionEntry objects.
Parameters
- financial_
accountstring Returns objects associated with this FinancialAccount.
- createdobject
Only return TransactionEntries that were created during the given date interval.
- order_
byenum The results are in reverse chronological order by
createdoreffective_. The default isat created.Possible enum valuescreatedTimestamp describing when the TransactionEntry was created.
effective_at Timestamp describing when the TransactionEntry was effective.
- transactionstring
Only return TransactionEntries associated with this Transaction.
More parameters
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data property that contains an array of up to limit TransactionEntries, starting after TransactionEntry starting_. Each entry in the array is a separate TransactionEntry object. If no more TransactionEntries are available, the resulting array is empty.
{ "object": "list", "url": "/v1/treasury/transaction_entries", "has_more": false, "data": [ { "id": "trxne_1MtkgV2eZvKYlo2CmofEnIwJ", "object": "treasury.transaction_entry", "balance_impact": { "cash": 0, "inbound_pending": 0, "outbound_pending": -1000 }, "created": 1680756271, "currency": "usd", "effective_at": 1680756271, "financial_account": "fa_1MtkgV2eZvKYlo2CdxyvnHeQ", "flow": "obt_1MtkgV2eZvKYlo2CCxhXVFLB", "flow_type": "outbound_transfer", "livemode": false, "transaction": "trxn_1MtkgV2eZvKYlo2CRYxD7KLh", "type": "outbound_transfer" } ]}