Return previously charged fees to an account holder's GPA.
Summary
Functions
Creates a new fee refund.
Creates a new fee refund. Raises Marqeta.Error on failure.
Retrieves a fee refund by token.
Retrieves a fee refund by token. Raises Marqeta.Error on failure.
Lists fee refund resources.
Lists fee refund resources. Raises Marqeta.Error on failure.
Returns a lazy Stream that auto-paginates fee refund resources.
Functions
@spec create( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Creates a new fee refund.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Creates a new fee refund. Raises Marqeta.Error on failure.
@spec get( String.t(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a fee refund by token.
Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.
Retrieves a fee refund by token. Raises Marqeta.Error on failure.
@spec list( map(), keyword() ) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists fee refund resources.
Accepts standard Marqeta pagination params:
count, start_index, sort_by, sort_order, fields.
Use stream/2 to lazily iterate all pages automatically.
Lists fee refund resources. Raises Marqeta.Error on failure.
@spec stream( map(), keyword() ) :: Enumerable.t()
Returns a lazy Stream that auto-paginates fee refund resources.