BalanceTransaction
Balance transactions represent funds moving through your Stripe account. Stripe creates them for every type of transaction that enters or leaves your Stripe account balance.
Related guide: Balance transaction types
Summary
Functions
@spec list(Stripe.Client.t(), map(), keyword()) :: {:ok, Stripe.ListObject.t()} | {:error, Stripe.Error.t()}
List all balance transactions
Returns a list of transactions that have contributed to the Stripe account balance (for example, charges, transfers, and so on). The transactions return in sorted order, with the most recent transactions appearing first.
The previous name of this endpoint was “Balance history,” and it used the path /v1/balance/history.
@spec retrieve(Stripe.Client.t(), String.t(), map(), keyword()) :: {:ok, Stripe.Resources.BalanceTransaction.t()} | {:error, Stripe.Error.t()}
Retrieve a balance transaction
Retrieves the balance transaction with the given ID.
Note that this endpoint previously used the path /v1/balance/history/:id.