GoCardlessClient.Resources.NegativeBalanceLimits
(GoCardlessClient v2.0.0)
Copy Markdown
View Source
GoCardless Negative Balance Limits API.
Returns the configured limits on how negative a creditor's balance can go before payouts are automatically paused. This can happen when refunds, chargebacks, or fees exceed collected payments.
These limits are configured by GoCardless — they cannot be created or updated via the API.
Summary
Functions
@spec collect_all(GoCardlessClient.Client.t(), map(), keyword()) :: {:ok, [map()]} | {:error, GoCardlessClient.APIError.t() | GoCardlessClient.Error.t()}
Eagerly collects all negative balance limits into a list.
@spec list(GoCardlessClient.Client.t(), map(), keyword()) :: {:ok, %{items: [map()], meta: map()}} | {:error, GoCardlessClient.APIError.t() | GoCardlessClient.Error.t()}
Returns a page of negative balance limits.
@spec stream(GoCardlessClient.Client.t(), map(), keyword()) :: Enumerable.t()
Returns a lazy Stream over all negative balance limits.