Issue physical refund cheques when closing accounts with residual balances.
Summary
Functions
Creates a new check return.
Creates a new check return. Raises Marqeta.Error on failure.
Retrieves a check return by token.
Retrieves a check return by token. Raises Marqeta.Error on failure.
Lists check return resources.
Lists check return resources. Raises Marqeta.Error on failure.
Returns a lazy Stream that auto-paginates check return resources.
Functions
@spec create( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Creates a new check return.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Creates a new check return. Raises Marqeta.Error on failure.
@spec get( String.t(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a check return by token.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Retrieves a check return by token. Raises Marqeta.Error on failure.
@spec list( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists check return resources.
Accepts standard Marqeta pagination params:
count, start_index, sort_by, sort_order, fields.
Use stream/2 to lazily iterate all pages automatically.
Lists check return resources. Raises Marqeta.Error on failure.
@spec stream( map(), keyword() ) :: Enumerable.t()
Returns a lazy Stream that auto-paginates check return resources.