View Source Dwolla.BeneficialOwner (dwolla v1.0.1)

Functions for beneficial-owners endpoint

Link to this section Summary

Functions

Deletes a beneficial owner.

Gets a beneficial owner by id.

Link to this section Types

Specs

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

Specs

id() :: String.t()

Specs

params() :: %{required(atom()) => String.t() | integer()}

Specs

t() :: %Dwolla.BeneficialOwner{
  address: %{
    address1: String.t(),
    address2: String.t(),
    address3: String.t(),
    city: String.t(),
    state_province_region: String.t(),
    postal_code: String.t(),
    country: String.t()
  },
  first_name: String.t(),
  id: String.t(),
  last_name: String.t(),
  verification_status: String.t()
}

Specs

token() :: String.t()

Link to this section Functions

Specs

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

Deletes a beneficial owner.

Specs

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

Gets a beneficial owner by id.