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