Mercury.Credit (mercury_client v1.0.0)

Copy Markdown View Source

The Mercury Credit API — credit accounts.

Summary

Functions

Returns every credit account for the organisation (not paginated). GET /credit

Functions

list(client)

@spec list(client :: Mercury.Client.t()) ::
  {:ok, [Mercury.CreditAccount.t()]} | {:error, Exception.t()}

Returns every credit account for the organisation (not paginated). GET /credit

list!(client)

@spec list!(client :: Mercury.Client.t()) :: [Mercury.CreditAccount.t()]