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
