Marqeta.Balances (marqeta v1.0.0)

Copy Markdown View Source

Retrieve GPA and MSA balance details for users and businesses.

Summary

Functions

Returns GPA balance for a user or business by token.

Lists MSA (Merchant-Specific Account) balances for a user.

Functions

get(token, opts \\ [])

@spec get(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, Marqeta.Error.t()}

Returns GPA balance for a user or business by token.

list_msa(token, params \\ %{}, opts \\ [])

@spec list_msa(String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, Marqeta.Error.t()}

Lists MSA (Merchant-Specific Account) balances for a user.