List all TransactionEntries 

Treasury
Transaction Entries
List all TransactionEntries

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.

    • created.gtinteger

      Minimum value to filter by (exclusive)

    • created.gteinteger

      Minimum value to filter by (inclusive)

    • created.ltinteger

      Maximum value to filter by (exclusive)

    • created.lteinteger

      Maximum value to filter by (inclusive)

  • order_byenum

    The results are in reverse chronological order by created or effective_at. The default is created.

    Possible enum values
    created

    Timestamp 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

    A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.

  • limitinteger

    A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

  • starting_afterstring

    A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

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.

GET /v1/treasury/transaction_entries
curl -G https://api.stripe.com/v1/treasury/transaction_entries \
-u "sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:" \
-d financial_account=fa_1MtkgV2eZvKYlo2CdxyvnHeQ \
-d limit=3
Response
{
"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"
}
]
}