Sample - Stripe API
GET/v1/treasury/transactions/{id}

Retrieve a financial account transaction

Retrieves a specific financial account transaction by its unique identifier. Use expand when you need selected fields returned in expanded form.

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

2 parameters
idstringrequired
The unique identifier of the transaction. Must be no more than 5,000 characters.
expandarray<string>optional
Fields to expand in the response. Each field name must be no more than 5,000 characters.

2 status codes
200Returns the transaction, including its amount, balance impact, currency, financial account, originating flow, entries, status, and status transitions.
amountintegerrequired
Amount (in cents) transferred.
balance_impactobjectrequired
Change to a FinancialAccount's balance
createdintegerrequired
Time at which the object was created. Measured in seconds since the Unix epoch.
currencystringrequired
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
descriptionstringrequired
An arbitrary string attached to the object. Often useful for displaying to users.
entriesobjectoptional
A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints.
financial_accountstringrequired
The FinancialAccount associated with this object.
flowstringoptional
ID of the flow that created the Transaction.
flow_detailsobjectoptional
Details of the flow that created the Transaction.
flow_typestringrequired
Type of the flow that created the Transaction.
Allowed:credit_reversaldebit_reversalinbound_transferissuing_authorizationotheroutbound_paymentoutbound_transferreceived_creditreceived_debit
idstringrequired
Unique identifier for the object.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:treasury.transaction
statusstringrequired
Status of the Transaction.
Allowed:openpostedvoid
status_transitionsobjectrequired
defaultError response.
errorobjectrequired

Error handling

id must identify the transaction to retrieve and must be no more than 5,000 characters. Each value in expand must be a string of no more than 5,000 characters.