omise v0.1.3 Omise.Balances

Provides Balance API interfaces.

Summary

Functions

Retrieve the balance

Functions

retrieve()

Specs

retrieve ::
  {:ok, Omise.Balance.t} |
  {:error, Omise.Error.t}

Retrieve the balance.

Returns {:ok, balance} if the request is successful, {:error, error} otherwise.

Examples

{:ok, balance} = Omise.Balances.retrieve