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, Understanding Connect account balances
Summary
Types
@type available() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:source_types) => available_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.source_types
@type available_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type connect_reserved() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:source_types) => connect_reserved_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.source_types
@type connect_reserved_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type instant_available() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:net_available) => [instant_available_net_available()] | nil, optional(:source_types) => instant_available_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.net_available- Breakdown of balance by destination.source_types
@type instant_available_net_available() :: %{ optional(:amount) => integer() | nil, optional(:destination) => String.t() | nil, optional(:source_types) => instant_available_net_available_source_types() | nil, optional(String.t()) => 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
@type instant_available_net_available_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type instant_available_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type issuing() :: %{ optional(:available) => [issuing_available()] | nil, optional(String.t()) => term() }
available- Funds that are available for use.
@type issuing_available() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:source_types) => issuing_available_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.source_types
@type issuing_available_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type pending() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:source_types) => pending_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.source_types
@type pending_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type refund_and_dispute_prefunding() :: %{ optional(:available) => [refund_and_dispute_prefunding_available()] | nil, optional(:pending) => [refund_and_dispute_prefunding_pending()] | nil, optional(String.t()) => term() }
available- Funds that are available for use.pending- Funds that are pending
@type refund_and_dispute_prefunding_available() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:source_types) => refund_and_dispute_prefunding_available_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.source_types
@type refund_and_dispute_prefunding_available_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@type refund_and_dispute_prefunding_pending() :: %{ optional(:amount) => integer() | nil, optional(:currency) => String.t() | nil, optional(:source_types) => refund_and_dispute_prefunding_pending_source_types() | nil, optional(String.t()) => term() }
amount- Balance amount.currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Format: ISO 4217 currency code.source_types
@type refund_and_dispute_prefunding_pending_source_types() :: %{ optional(:bank_account) => integer() | nil, optional(:card) => integer() | nil, optional(:fpx) => integer() | nil, optional(String.t()) => term() }
bank_account- Amount coming from legacy US ACH payments.card- Amount coming from most payment methods, including cards as well as non-legacy bank debits.fpx- Amount coming from FPX, a Malaysian payment method.
@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 or Payouts API. You can find the available balance for each currency and payment type in thesource_typesproperty. Expandable.connect_reserved- Funds held due to negative balances on connected accounts where account.controller.requirement_collection isapplication, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in thesource_typesproperty. Expandable.instant_available- Funds that you can pay out using Instant Payouts. Expandable.issuing- Expandable.livemode- Has the valuetrueif the object exists in live mode or the valuefalseif 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 thesource_typesproperty. Expandable.refund_and_dispute_prefunding- Expandable.