Manually adjust the amount of a journal entry or account balance.
Summary
Functions
Creates a credit adjustment on a credit account.
Creates a credit adjustment. Raises on error.
Retrieves a credit adjustment by token.
Retrieves a credit adjustment. Raises on error.
Lists credit adjustment records on a credit account.
Lists credit adjustment records. Raises on error.
Returns a lazy stream of all credit adjustment records for an account.
Functions
@spec create(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Creates a credit adjustment on a credit account.
Creates a credit adjustment. Raises on error.
@spec get(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a credit adjustment by token.
Retrieves a credit adjustment. Raises on error.
@spec list(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists credit adjustment records on a credit account.
Lists credit adjustment records. Raises on error.
@spec stream(String.t(), map()) :: Enumerable.t()
Returns a lazy stream of all credit adjustment records for an account.