Sample - Stripe API
GET/v1/treasury/transaction_entries

List transaction entries

Lists transaction entries associated with a financial account. Filter by creation or effective timestamps, transaction, and ordering, then use cursor parameters to paginate the results.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

9 parameters
createdobjectoptional
Filters entries by creation time using a Unix timestamp or a range with `gt`, `gte`, `lt`, or `lte`.
effective_atobjectoptional
Filters entries by effective time using a Unix timestamp or a range with `gt`, `gte`, `lt`, or `lte`.
ending_beforestringoptional
An object ID cursor that returns results preceding the specified item.
expandarray<string>optional
Fields to expand in each returned object.
financial_accountstringrequired
The FinancialAccount associated with the transaction entries.
limitintegeroptional
Maximum number of objects to return, from 1 to 100. Defaults to 10 when omitted.
order_bystringoptional
Sorts results in reverse chronological order by `created` or `effective_at`. Defaults to `created` when omitted.
Allowed:createdeffective_at
starting_afterstringoptional
An object ID cursor that returns results following the specified item.
transactionstringoptional
Filters entries to the specified Transaction. Must be no more than 5,000 characters.

2 status codes
200Returns a list object containing transaction entries in `data`, a `has_more` pagination flag, the list object type, and the list URL.
dataarray<TransactionEntry>required
Details about each object.
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired

Error handling

financial_account must identify the FinancialAccount associated with the entries. order_by must be created or effective_at, and limit ranges from 1 to 100 and defaults to 10 when omitted. Timestamp filters accept a Unix timestamp or a range using gt, gte, lt, or lte.