module Monzo::Client::Balance

Overview

Exposes methods for dealing with Account Balance as defined by the Balance API documentation.

Direct including types

Defined in:

monzo/client/balance.cr

Instance Method Summary

Instance Method Detail

def balance(account : Monzo::Account) #

Fetches balance information for the specified account.

 account = client.accounts.first
client.balance(account) # => #<Monzo::Balance:0x10bd82b70 @balance=12747, @currency="GBP", @spend_today=0>

[View source]
def balance(account_id : String) #

Returns a Balance object for the specified account_id.


[View source]