Braintree.Webhook (Braintree v0.13.0)

This module provides convenience methods for parsing Braintree webhook payloads.

Link to this section Summary

Functions

Return a map containing the payload and signature from the braintree webhook event.

Link to this section Functions

Link to this function

parse(signature, payload, opts \\ [])

@spec parse(String.t() | nil, String.t() | nil, Keyword.t()) ::
  {:ok, map()} | {:error, String.t()}

Return a map containing the payload and signature from the braintree webhook event.