Struct stripe::Balance [−][src]
pub struct Balance {
pub available: Vec<BalanceAmount>,
pub connect_reserved: Option<Box<Vec<BalanceAmount>>>,
pub instant_available: Option<Box<Vec<BalanceAmount>>>,
pub issuing: Option<Box<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<Box<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<Box<Vec<BalanceAmount>>>
Funds that can be paid out using Instant Payouts.
issuing: Option<Box<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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Balance
impl UnwindSafe for Balance
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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
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