View Source Dwolla.ClientToken (dwolla v1.0.3)

Functions for "client-tokens" endpoint.

Link to this section Summary

Functions

Creates a client token.

Link to this section Types

Specs

Specs

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

Specs

t() :: %Dwolla.ClientToken{token: String.t()}

Specs

token() :: String.t()

Link to this section Functions

Specs

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

Creates a client token.

Parameters

%{
  _links: %{
    customer: %{
      href: "https://api-sandbox.dwolla.com/customers/..."
    }
  },
  action: "beneficialowners.create"
}