Braintree.Webhook (Braintree v0.12.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(sig, payload)

Specs

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

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