omise v0.2.2 Omise.Balances

Provides Balance API interfaces.

https://www.omise.co/balance-api

Summary

Functions

Retrieve the balance

Functions

retrieve()

Specs

retrieve :: {:ok, Map.t} | {:error, Map.t}

Retrieve the balance.

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

Examples

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