Class: Stripe::BalanceService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/balance_service.rb

Instance Method Summary collapse

Methods inherited from StripeService

#initialize, #request, #request_stream

Constructor Details

This class inherits a constructor from Stripe::StripeService

Instance Method Details

#retrieve(params = {}, opts = {}) ⇒ Object

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](https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances).


8
9
10
# File 'lib/stripe/services/balance_service.rb', line 8

def retrieve(params = {}, opts = {})
  request(method: :get, path: "/v1/balance", params: params, opts: opts, base_address: :api)
end