pub struct Balance {
    pub available: Vec<BalanceAmount>,
    pub connect_reserved: Option<Vec<BalanceAmount>>,
    pub instant_available: Option<Vec<BalanceAmount>>,
    pub issuing: Option<BalanceDetail>,
    pub livemode: bool,
    pub pending: Vec<BalanceAmount>,
}
Expand description

The resource representing a Stripe “Balance”.

Fields

available: Vec<BalanceAmount>

Funds 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 the source_types property.

connect_reserved: Option<Vec<BalanceAmount>>

Funds held due to negative balances on connected Custom accounts.

The connect reserve balance for each currency and payment type can be found in the source_types property.

instant_available: Option<Vec<BalanceAmount>>

Funds that can be paid out using Instant Payouts.

issuing: Option<BalanceDetail>livemode: bool

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

pending: Vec<BalanceAmount>

Funds 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 the source_types property.

Implementations

Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth).

The transactions are returned in sorted order, with the most recent transactions appearing first. Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The canonical id type for this object.

The id of the object.

The object’s type, typically represented in wire format as the object property.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more