Transition a credit account to a new status (ACTIVE, SUSPENDED, CLOSED, etc.).
Summary
Functions
Creates a credit account state transition.
Retrieves a credit account state transition.
Lists transitions for a credit account.
Streams transitions for a credit account.
Functions
@spec create(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Creates a credit account state transition.
@spec get(String.t(), String.t(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Retrieves a credit account state transition.
@spec list(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}
Lists transitions for a credit account.
@spec stream(String.t(), map()) :: Enumerable.t()
Streams transitions for a credit account.