View Source Dwolla.OnDemandAuthorization (dwolla v1.0.1)

Functions for on-demand-authorizations endpoint

Link to this section Summary

Functions

Create on demand authorization

Link to this section Types

Specs

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

Specs

t() :: %Dwolla.OnDemandAuthorization{
  body_text: String.t(),
  button_text: String.t(),
  id: String.t()
}

Specs

token() :: String.t()

Link to this section Functions

Specs

create(token()) :: {:ok, t()} | {:error, error()}

Create on demand authorization