omise v0.6.0 Omise.Balance
Provides Balance API interfaces.
Link to this section Summary
Functions
Retrieve the balance
Link to this section Types
Link to this section Functions
Link to this function
retrieve(opts \\ [])
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")