# `Stripe.Resources.Balance`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/balance.ex#L2)

Balance

This is an object representing your Stripe balance. You can retrieve it to see
the balance currently on your Stripe account.

The top-level `available` and `pending` comprise your "payments balance."

Related guide: [Balances and settlement time](https://docs.stripe.com/payments/balances), [Understanding Connect account balances](https://docs.stripe.com/connect/account-balances)

# `available`

```elixir
@type available() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:source_types) =&gt; available_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `source_types`

# `available_source_types`

```elixir
@type available_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `connect_reserved`

```elixir
@type connect_reserved() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:source_types) =&gt; connect_reserved_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `source_types`

# `connect_reserved_source_types`

```elixir
@type connect_reserved_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `instant_available`

```elixir
@type instant_available() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:net_available) =&gt; [instant_available_net_available()] | nil,
  optional(:source_types) =&gt; instant_available_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `net_available` - Breakdown of balance by destination.
* `source_types`

# `instant_available_net_available`

```elixir
@type instant_available_net_available() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:destination) =&gt; String.t() | nil,
  optional(:source_types) =&gt;
    instant_available_net_available_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Net balance amount, subtracting fees from platform-set pricing.
* `destination` - ID of the external account for this net balance (not expandable). Max length: 5000.
* `source_types`

# `instant_available_net_available_source_types`

```elixir
@type instant_available_net_available_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `instant_available_source_types`

```elixir
@type instant_available_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `issuing`

```elixir
@type issuing() :: %{
  optional(:available) =&gt; [issuing_available()] | nil,
  optional(String.t()) =&gt; term()
}
```

* `available` - Funds that are available for use.

# `issuing_available`

```elixir
@type issuing_available() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:source_types) =&gt; issuing_available_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `source_types`

# `issuing_available_source_types`

```elixir
@type issuing_available_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `pending`

```elixir
@type pending() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:source_types) =&gt; pending_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `source_types`

# `pending_source_types`

```elixir
@type pending_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `refund_and_dispute_prefunding`

```elixir
@type refund_and_dispute_prefunding() :: %{
  optional(:available) =&gt; [refund_and_dispute_prefunding_available()] | nil,
  optional(:pending) =&gt; [refund_and_dispute_prefunding_pending()] | nil,
  optional(String.t()) =&gt; term()
}
```

* `available` - Funds that are available for use.
* `pending` - Funds that are pending

# `refund_and_dispute_prefunding_available`

```elixir
@type refund_and_dispute_prefunding_available() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:source_types) =&gt;
    refund_and_dispute_prefunding_available_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `source_types`

# `refund_and_dispute_prefunding_available_source_types`

```elixir
@type refund_and_dispute_prefunding_available_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `refund_and_dispute_prefunding_pending`

```elixir
@type refund_and_dispute_prefunding_pending() :: %{
  optional(:amount) =&gt; integer() | nil,
  optional(:currency) =&gt; String.t() | nil,
  optional(:source_types) =&gt;
    refund_and_dispute_prefunding_pending_source_types() | nil,
  optional(String.t()) =&gt; term()
}
```

* `amount` - Balance amount.
* `currency` - 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). Format: ISO 4217 currency code.
* `source_types`

# `refund_and_dispute_prefunding_pending_source_types`

```elixir
@type refund_and_dispute_prefunding_pending_source_types() :: %{
  optional(:bank_account) =&gt; integer() | nil,
  optional(:card) =&gt; integer() | nil,
  optional(:fpx) =&gt; integer() | nil,
  optional(String.t()) =&gt; term()
}
```

* `bank_account` - Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
* `card` - Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
* `fpx` - Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.

# `t`

```elixir
@type t() :: %Stripe.Resources.Balance{
  available: [available()],
  connect_reserved: [connect_reserved()] | nil,
  instant_available: [instant_available()] | nil,
  issuing: issuing() | nil,
  livemode: boolean(),
  object: String.t(),
  pending: [pending()],
  refund_and_dispute_prefunding: refund_and_dispute_prefunding() | nil
}
```

* `available` - Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://api.stripe.com#transfers) or [Payouts API](https://api.stripe.com#payouts). You can find the available balance for each currency and payment type in the `source_types` property. Expandable.
* `connect_reserved` - Funds held due to negative balances on connected accounts where [account.controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in the `source_types` property. Expandable.
* `instant_available` - Funds that you can pay out using Instant Payouts. Expandable.
* `issuing` - Expandable.
* `livemode` - Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
* `object` - String representing the object's type. Objects of the same type share the same value. Possible values: `balance`.
* `pending` - Funds that aren't available in the balance yet. You can find the pending balance for each currency and each payment type in the `source_types` property. Expandable.
* `refund_and_dispute_prefunding` - Expandable.

# `expandable_fields`

# `object_name`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
