Omise.Balance (omise v0.9.0)
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 \\ [])
Specs
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")