dwolla v1.0.1 Dwolla.FundingSource View Source

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

Link to this type

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

Link to this section Functions

Link to this function

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

Gets the balance of a funding source.

Link to this function

get(token, id) View Source
get(token(), id()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}

Gets a funding source by id.

Link to this function

remove(token, id) View Source
remove(token(), id()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}

Removes a funding source.

Link to this function

update_name(token, id, name) View Source
update_name(token(), id(), String.t()) ::
  {:ok, Dwolla.FundingSource.t()} | {:error, error()}

Updates the name of a funding source.