Omise.Balance (omise v0.10.0)
Provides Balance API interfaces.
Summary
Functions
Retrieve the balance.
Types
Functions
Link to this function
retrieve(opts \\ [])
@spec retrieve(Keyword.t()) :: {:ok, t()} | {:error, Omise.Error.t()}
Retrieve the balance.
Returns {:ok, balance}
if the request is successful, {:error, error}
otherwise.
Examples
Omise.Balance.retrieve
Omise.Balance.retrieve(key: "skey_56ia27lqtvg32u7iww8")