The TransactionEntry object
Attributes
- id string Unique identifier for the object.
- object string, value is "treasury.transaction_entry" String representing the object’s type. Objects of the same type share the same value.
- balance _ impact object The current impact of the TransactionEntry on the FinancialAccount’s balance.
- created timestamp Time at which the object was created. Measured in seconds since the Unix epoch.
- currency enum 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 nullable string Token of the flow associated with the TransactionEntry.
- flow _ details nullable object Includable Details of the flow associated with the TransactionEntry.
- flow _ type enum Type of the flow associated with the TransactionEntry. Possible enum values
credit_reversalThe Transaction is associated with a CreditReversal.debit_reversalThe Transaction is associated with a DebitReversal.inbound_transferThe Transaction is associated with an InboundTransfer.issuing_authorizationThe Transaction is associated with an Issuing authorization.otherThe Transaction is associated with some other money movement not listed above.outbound_paymentThe Transaction is associated with an OutboundPayment.outbound_transferThe Transaction is associated with an OutboundTransfer.received_creditThe Transaction is associated with a ReceivedCredit.received_debitThe Transaction is associated with a ReceivedDebit. - livemode boolean If the object exists in live mode, the value is
true. If the object exists in test mode, the value isfalse. - transaction string Expandable The Transaction associated with this object.
- type enum The specific money movement that generated the TransactionEntry. Possible enum values
credit_reversalThe TransactionEntry was generated by a CreditReversal.credit_reversal_postingThe TransactionEntry was generated by a posted CreditReversal.debit_reversalThe TransactionEntry was generated by a DebitReversal.inbound_transferThe TransactionEntry was generated by an InboundTransfer.inbound_transfer_returnThe TransactionEntry was generated by an InboundTransferReturn.issuing_authorization_holdThe TransactionEntry was generated by an Issuing authorization hold.issuing_authorization_releaseThe TransactionEntry was generated by an Issuing authorization release.otherThe TransactionEntry was generated by some other money movement.outbound_paymentThe TransactionEntry was generated by an OutboundPayment.outbound_payment_cancellationThe TransactionEntry was generated by a cancelled OutboundPayment. Show 10 more
The 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"}
Retrieve a TransactionEntry
GET / v1 / treasury / transaction_entries /:id
Retrieves a TransactionEntry object.
Parameters
No parameters.
Returns
Returns a TransactionEntry object.
Response
{ "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"}
List all TransactionEntries
GET / v1 / treasury / transaction_entries
Retrieves a list of TransactionEntry objects.
Parameters
- financial _ account string Returns objects associated with this FinancialAccount.
- created object Only return TransactionEntries that were created during the given date interval.
- order _ by enum The results are in reverse chronological order by
createdoreffective_at. The default iscreated. Possible enum valuescreatedTimestamp describing when the TransactionEntry was created.effective_atTimestamp describing when the TransactionEntry was effective. - transaction string Only return TransactionEntries associated with this Transaction.
More parameters
- ending _ before string
- limit integer
- starting _ after string
Returns
A dictionary with a data property that contains an array of up to limit TransactionEntries, starting after TransactionEntry starting_after. Each entry in the array is a separate TransactionEntry object. If no more TransactionEntries are available, the resulting array is empty.
Response
