Braintree.Webhook.Validation (Braintree v0.13.0)

This module provides convenience methods to help validate Braintree signatures and associated payloads for webhooks.

Link to this section Summary

Functions

Validate the webhook signature and payload from braintree.

Link to this section Functions

Link to this function

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

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

Validate the webhook signature and payload from braintree.