omise v0.5.2 Omise.Occurrence

Provides Occurrence API interfaces.

https://www.omise.co/occurrences-api

Link to this section Summary

Functions

Retrieve an occurrence

Link to this section Types

Link to this type t()
t() :: %Omise.Occurrence{created: String.t, id: String.t, livemode: boolean, location: String.t, message: String.t, object: String.t, processed_at: String.t, result: String.t, retry_date: String.t, schedule: String.t, schedule_date: String.t, status: String.t}

Link to this section Functions

Link to this function retrieve(id, opts \\ [])
retrieve(String.t, Keyword.t) ::
  {:ok, t} |
  {:error, Omise.Error.t}

Retrieve an occurrence.

Examples

Omise.Occurrence.retrieve("occu_test_584yqgivyi2p1g828pl")