class

Stripe::BalanceApi

Inherits Reference < Object

Constructors

new(api_client : Stripe::ApiClient = ApiClient.default)
Source

Instance methods

api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_get_balance(*, expand : Array(Array(String)) | Nil = nil) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source
get_balance(*, expand : Array(Array(String)) | Nil = nil) : Stripe::Balance

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.

@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::Balance]
Source
get_balance(*, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil

<p>Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see <a href=&quot;/docs/connect/account-balances#accounting-for-negative-balances&quot;>Accounting for negative balances</a>.</p> @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil

Source
get_balance_with_http_info(*, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::Balance, Int32, Hash(String, Array(String) | String))

<p>Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see <a href=&quot;/docs/connect/account-balances#accounting-for-negative-balances&quot;>Accounting for negative balances</a>.</p> @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::Balance, Integer, Hash)] Stripe::Balance, response status code and response headers

Source