Lithic.Resources.Holds (Lithic v1.0.0)

Copy Markdown View Source

Financial account holds — create, void, and list.

Summary

Functions

create(financial_account_token, params, opts \\ [])

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

get(financial_account_token, hold_token, opts \\ [])

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

list(financial_account_token, opts \\ [])

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

void(financial_account_token, hold_token, opts \\ [])

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