dwolla v1.0.1 Dwolla.Webhook View Source

Functions for webhooks endpoint.

Link to this section Summary

Functions

Gets a webhook by id

Gets webhook retries by id

Retries a webhooks by id

Link to this section Types

Link to this type

location() View Source
location() :: %{id: String.t()}

Link to this type

t() View Source
t() :: %Dwolla.Webhook{
  account_id: String.t(),
  attempts: [Dwolla.Webhook.Attempt.t()],
  event_id: String.t(),
  id: String.t(),
  subscription_id: String.t(),
  topic: String.t()
}

Link to this section Functions

Link to this function

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

Gets a webhook by id.

Link to this function

list_retries(token, id) View Source
list_retries(token(), id()) ::
  {:ok, [Dwolla.Webhook.Retry.t()]} | {:error, error()}

Gets webhook retries by id.

Link to this function

retry(token, id) View Source
retry(token(), id()) :: {:ok, location()} | {:error, error()}

Retries a webhooks by id.