View Source Dwolla.FundingSource (dwolla v1.0.3)

Functions for funding-sources endpoint.

Link to this section Summary

Functions

Gets the balance of a funding source.

Gets a funding source by id.

Removes a funding source.

Updates the name of a funding source.

Link to this section Types

Specs

error() :: HTTPoison.Error.t() | Dwolla.Errors.t() | tuple()

Specs

id() :: String.t()

Specs

t() :: %Dwolla.FundingSource{
  bank_account_type: String.t(),
  bank_name: String.t(),
  channels: [String.t()],
  created: String.t(),
  id: String.t(),
  name: String.t(),
  removed: boolean(),
  status: String.t(),
  type: String.t()
}

Specs

token() :: String.t()

Link to this section Functions

Specs

balance(token(), id()) ::
  {:ok, Dwolla.FundingSource.Balance.t()} | {:error, error()}

Gets the balance of a funding source.

Specs

get(token(), id()) :: {:ok, t()} | {:error, error()}

Gets a funding source by id.

Specs

remove(token(), id()) :: {:ok, t()} | {:error, error()}

Removes a funding source.

Link to this function

update_name(token, id, name)

View Source

Specs

update_name(token(), id(), String.t()) :: {:ok, t()} | {:error, error()}

Updates the name of a funding source.