PinElixir.Balance

Allows querying of pin account balance

Summary

Functions

Provides a representation of the current pin account balance and pending transactions

Functions

get()

Provides a representation of the current pin account balance and pending transactions

returns a tuple

{:ok,
  %{balance:
    %{
      available: [%{amount: 50000, currency: "AUD"}],
      pending: [%{amount: 50000, currency: "AUD"}]
    }
  }
}

OR

{:error, error_map}