View Source Stripe.Balance (Striped v0.5.0) (generated)
This is an object representing your Stripe balance. You can retrieve it to see the balance currently on your Stripe account.
You can also retrieve the balance history, which contains a list of transactions that contributed to the balance (charges, payouts, and so forth).
The available and pending amounts for each currency are broken down further by payment source types.
Related guide: Understanding Connect Account Balances.
Link to this section Summary
Functions
Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.
Link to this section Types
@type t() :: %Stripe.Balance{ available: term(), connect_reserved: term(), instant_available: term(), issuing: term(), livemode: boolean(), object: binary(), pending: term() }
The balance type.
availableFunds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the Transfers API or Payouts API. The available balance for each currency and payment type can be found in thesource_typesproperty.connect_reservedFunds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in thesource_typesproperty.instant_availableFunds that can be paid out using Instant Payouts.issuinglivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.objectString representing the object's type. Objects of the same type share the same value.pendingFunds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in thesource_typesproperty.
Link to this section Functions
@spec retrieve( client :: Stripe.t(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.
Details
- Method:
get - Path:
/v1/balance