dwolla v1.0.1 Dwolla.Document View Source
Functions for documents
endpoint.
Link to this section Summary
Link to this section Types
Link to this type
error()
View Source
error()
View Source
error() :: HTTPoison.Error.t() | Dwolla.Errors.t() | tuple()
error() :: HTTPoison.Error.t() | Dwolla.Errors.t() | tuple()
Link to this type
id()
View Source
id()
View Source
id() :: String.t()
id() :: String.t()
Link to this type
location()
View Source
location()
View Source
location() :: %{id: String.t()}
location() :: %{id: String.t()}
Link to this type
token()
View Source
token()
View Source
token() :: String.t()
token() :: String.t()
Link to this section Functions
Link to this function
create(token, customer_id, document_type, file) View Source
Upload a document for a customer.
Accepted document type values:
passport
license
idCard
other
Link to this function
get(token, id)
View Source
get(token, id)
View Source
get(token(), id()) :: {:ok, Dwolla.Document.t()} | {:error, error()}
get(token(), id()) :: {:ok, Dwolla.Document.t()} | {:error, error()}
Get a document.
Link to this function
list(token, customer_id)
View Source
list(token, customer_id)
View Source
list(token(), id()) :: {:ok, [Dwolla.Document.t()]} | {:error, error()}
list(token(), id()) :: {:ok, [Dwolla.Document.t()]} | {:error, error()}
List a customer's documents.