Omise.Account (omise v0.10.0)
Provides Account API interfaces.
Summary
Functions
Retrieve the account.
Types
@type t() :: %Omise.Account{ api_version: String.t(), auto_activate_recipients: boolean(), chain_enabled: boolean(), chain_return_uri: String.t(), country: String.t(), created: String.t(), currency: String.t(), email: String.t(), id: String.t(), livemode: boolean(), location: String.t(), metadata_export_keys: map(), object: String.t(), supported_currencies: list(), team: String.t(), webhook_uri: String.t() }
Functions
Link to this function
retrieve(opts \\ [])
@spec retrieve(Keyword.t()) :: {:ok, t()} | {:error, Omise.Error.t()}
Retrieve the account.
Returns {:ok, account}
if the request is successful, {:error, error}
otherwise.
Examples
Omise.Account.retrieve
Omise.Account.retrieve(key: "skey_56ia27lqtvg32u7iww8")