Issue balance refunds on a credit account with a negative balance.
Summary
Functions
Creates a balance refund on a credit account.
Creates a balance refund. Raises on error.
Retrieves a balance refund by token.
Retrieves a balance refund. Raises on error.
Lists balance refund records on a credit account.
Lists balance refund records. Raises on error.
Returns a lazy stream of all balance refund records for an account.
Functions
@spec create(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Creates a balance refund on a credit account.
Creates a balance refund. Raises on error.
@spec get(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a balance refund by token.
Retrieves a balance refund. Raises on error.
@spec list(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists balance refund records on a credit account.
Lists balance refund records. Raises on error.
@spec stream(String.t(), map()) :: Enumerable.t()
Returns a lazy stream of all balance refund records for an account.