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