Lithic.Resources.ManagementOperations (Lithic v1.0.0)

Copy Markdown View Source

Manual ledger adjustments — create, list, and reverse.

Summary

Functions

create(params, opts \\ [])

@spec create(
  map(),
  keyword()
) :: {:ok, map()} | {:error, Lithic.Error.t()}

get(token, opts \\ [])

@spec get(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, Lithic.Error.t()}

list(opts \\ [])

@spec list(keyword()) :: {:ok, Lithic.Page.t(map())} | {:error, Lithic.Error.t()}

reverse(token, params \\ %{}, opts \\ [])

@spec reverse(String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, Lithic.Error.t()}