Liking cljdoc? Tell your friends :D

stripe-clojure.webhooks

Provides functions for verifying and constructing Stripe webhook events.

The construct-event function accepts three parameters:

  • payload: the raw webhook payload (as a string, exactly as received)
  • signature: the 'Stripe-Signature' header value from the request
  • endpoint-secret: the webhook secret used to sign the payload

See https://docs.stripe.com/webhooks for more details. NOTE: Pass the raw request body exactly as received.

Provides functions for verifying and constructing Stripe webhook events.

The `construct-event` function accepts three parameters:
  - payload: the raw webhook payload (as a string, exactly as received)
  - signature: the 'Stripe-Signature' header value from the request
  - endpoint-secret: the webhook secret used to sign the payload

See https://docs.stripe.com/webhooks for more details.
NOTE: Pass the raw request body exactly as received.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close