Braintree.Webhook (Braintree v0.16.0)

This module provides convenience methods for parsing Braintree webhook payloads.

Summary

Functions

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

Functions

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.